Difference Between GridView and DataGrid
DataGrid
Gridview was introduced with Asp.Net 2.0.
DataGrid was introduced with
Asp.Net 1.0.
Asp.Net 1.0.
GridView Built-in Supports for
Paging and Sorting.
Paging and Sorting.
DataGrid For sorting you need to
handle
1.SortCommand event
2.ReBind Grid Required
3.for paging
need to handle the
PageIndexChanged event
handle
1.SortCommand event
2.ReBind Grid Required
3.for paging
need to handle the
PageIndexChanged event
GridView Built-in Supports for
Update and Delete operations.
Update and Delete operations.
DataGrid Need to write code for
implementing
Update and Delete operations.
implementing
Update and Delete operations.
GridView Supports auto
Format or Style features.
Format or Style features.
DataGrid This features is Not
supported.
supported.
GridView Performance
is Slower than DataGrid
is Slower than DataGrid
DataGrid Performance is
Faster than GridView.
Faster than GridView.
0 comments:
Post a Comment