| ASP.NET version 1.x have one most commonly | | | | developers need some code.with the help of |
| used Web controls that is DataGrid. DataGrid | | | | data source controls,data can be easily |
| control helps to display data on an ASP.NET | | | | accessed through simple syntax in the HTML |
| page just like a breeze. we can simply drag | | | | portion of the ASP.NET Web page.The data |
| and drop the DataGrid on our webpage, we can | | | | source controls can be added to a page by |
| also specify columns/fields and we can also | | | | simply dragg and drop.And, the specific data |
| format that fields and columns. There are | | | | to retrieve can be specified entirely through |
| some feature of DataGrid that's helps end | | | | the Design view. Once a data source control |
| user to page, sort, and even edit the data | | | | sholud configured, it can be easily bound to |
| within the DataGrid. | | | | a data Web control, just like GridView, by |
| | | | setting the data Web control's DataSourceID |
| After that DataGrid takes a huge improvement | | | | property to the ID of the data source |
| over pre-ASP.NET techniques for showing | | | | control. |
| data,But have some limitations till now. For | | | | |
| starters, binding any data to a DataGrid | | | | Data source controls in ASP.NET 2.0 access |
| still required some code to written, and | | | | data with quicker and easier with compare to |
| often repetitive code at that. And something | | | | to ASP.NET version 1.x.GridView also makes |
| more that how to utilize any of the DataGrid | | | | showing that data much simpler than with the |
| more advanced features-handling deletes, | | | | DataGrid in ASP.NET version 1.x. |
| providing pagination, or sorting | | | | |
| support-required additional code and time. | | | | With the GridView you can specify that the |
| | | | data be sortable and/or pageable by simply |
| ASP.NET 2.0 gernate some facility to fixes | | | | checking a checkbox.This process is also when |
| the problems of the DataGrid through a set of | | | | Delete column. |
| data source controls designed to manage data | | | | |
| that can be bound to data Web controls, and a | | | | To know more about asp net interview |
| replacement the DataGrid with GridView | | | | questions visit - dotnetquestion. |
| control.For accessing data in ASP.NET 1.x, | | | | |