The Gridview is the most used control to display data in a tabular format.
By default it supports major features like sorting, paging.
However it does not support multiple sorting.
DATAGRID control also has a number of new features and advantages over the DataGrid control, which include:
· Richer design-time capabilities.
· Improved data source binding capabilities.
· Automatic handling of sorting, paging, updates, and deletes.
· Additional column types and design-time column operations.
· A Customized pager user interface (UI) with the PagerTemplate property.
In ASP.NET 2.0, the DataGrid control has been enhanced to support common control features
such as themes and personalization. In addition, the new DataGrid control can be populated
by a data source control. Remember, though, that a DataGrid can only bind to a data source
object for the purpose of reading data. To actually modify the underlying data source,
some user-defined code is still required.
In contrast, the GridView control takes advantage
of the capabilities of the underlying data source and automatically deletes or updates records.
Note that the GridView control also supports the classic binding mechanism based on the
DataSource property and the DataBind method. Although fully supported,
this programming practice is discouraged.
/Ppolisetty, if this helps please login to Mark As Answer. | Alert Moderator