Google News
logo
ASP.NET - Interview Questions
Explain the differences between GridView and DataGrid in ASP.NET?
Grid View, DataGrid
It was introduced with Asp.Net 2.0. It was introduced with Asp.Net 1.0.
Built-in supports for Paging and Sorting. For sorting you need to handle SortCommand event and rebind grid required and for paging, you need to handle the PageIndexChanged event and rebind grid required.,
Built-in supports for Update and Delete operations. Need to write code for implementing Update and Delete operations.
Supports auto-format or style features. This feature is not supported.
Performance is slow as compared to DataGrid Performance is fast as compared to GridView.
Advertisement