Difference between Gridview and DataGrid

  • Datagrid is older control and GridVeiw is new and improved
  • DataGrid is required additional coding for sorting,paging and edit. Gridview has this functionality inbuit.
  • Datagrid has BoundColumn, ButtonColumn, EditCommandColumn, HyperLinkColumn and TemplateColumn.  And Gridview has BoundField, ButtonField, CheckBoxField, CommandField, HyperLinkField, ImageField, and TemplateField basic column types.
  • The DataGrid control raises single events for operations, while the GridView control is capable of both pre-operation and post-operation events.

0 comments:

Post a Comment