Click here to Skip to main content
15,885,842 members
Please Sign up or sign in to vote.
5.00/5 (2 votes)
See more:
What is the difference between gridview and datagrid in asp.net
Posted

You can get many link when you search on google for this. One of them is: http://msdn.microsoft.com/en-us/library/05yye6k9.aspx[^]
 
Share this answer
 
Comments
sravani.v 22-May-12 5:27am    
My 5!
DataGrid was an ASP.NET 1.1 control, still supported.
GridView arrived in 2.0, made certain tasks simpler added different databinding features:

This link has a comparison of DataGrid and GridView features:
DataGrid & GridView[^]

The GridView 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.

Differences include:
-Different custom-paging support.
-Different event models.

Some more:
Comparing the GridView and DataGrid Web Server Controls[^]

Get the similar discussion:
Click here[^]
 
Share this answer
 
v2
Comments
sravani.v 22-May-12 5:28am    
My 5!
Prasad_Kulkarni 22-May-12 5:30am    
Thank you Sravani!
Both the DataGrid and GridView controls are derived from the WebControl class. Although it has a similar object model to that of the DataGrid control, the GridView 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.

Differences between the GridView control and the DataGrid control include:

* Different custom-paging support.
* Different event models.

for more detail refer below link :
http://msdn.microsoft.com/en-us/library/05yye6k9.aspx[^]
 
Share this answer
 
GridView can bulid pages on mobile devices

DataGrid in 1.x doesn't supports the themes however in 2.0 it perform themes.

The DataGrid in version 2.0 can also render adaptively,

GridView supports the classic bindingbased on the DataSource property.

GridView provides the option for paging ,sorting in easy click of a button however datagrid
required some coding


for more details http://www.dotnetfunda.com/articles/article138.aspx[^]
 
Share this answer
 
 
Share this answer
 
Comments
King Fisher 19-Mar-15 2:09am    
Do not restart the thread Again

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900