什么是差异。 gridview和datagrid之间? [英] What is the diff. between gridview and datagrid?
本文介绍了什么是差异。 gridview和datagrid之间?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
asp.net中的gridview和datagrid有什么区别
What is the difference between gridview and datagrid in asp.net
推荐答案
当你在google上搜索时,你可以获得很多链接。其中之一是: http://msdn.microsoft.com/en-us/library/05yye6k9.aspx [ ^ ]
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[^]
DataGrid
是一个ASP.NET 1.1控件,仍然受支持。
GridView
抵达2.0,使某些任务更简单,添加了不同的数据绑定功能:
此链接比较DataGrid
和GridView
功能:
DataGrid& GridView [ ^ ]
GridView 控件在DataGrid控件上还有许多新的功能和优点,其中包括:
-Richer设计时功能。
-改进的数据源绑定功能。
- 自动处理排序,分页,更新和删除。
-附加列类型和设计时列操作。
-A具有PagerTemplate属性的自定义寻呼机用户界面(UI)。
差异包括:
- 不同的自定义分页支持。
-不同的活动模型。
更多:
比较GridView和DataGrid Web服务器控件 [ ^ ]
得到类似的讨论:
点击此处 [ ^ ]
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 ofDataGrid
andGridView
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[^]
DataGrid和GridView控件都是从WebControl类派生的。虽然它具有与DataGrid控件类似的对象模型,但GridView控件还具有许多与DataGrid控件相比的新功能和优势,其中包括:
*更丰富的设计时功能。
*改进的数据源绑定功能。
*自动处理排序,分页,更新和删除。
*其他列类型和设计时列操作。
*具有PagerTemplate属性的自定义寻呼机用户界面(UI)。
GridView控件和DataGrid控件之间的差异包括:
*不同的自定义分页支持。
*不同的事件模型。
更多细节请参考以下链接:
http://msdn.microsoft.com/en-us/library/05yye6k9.aspx [ ^ ]
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[^]
这篇关于什么是差异。 gridview和datagrid之间?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文