1

我知道这Gridview是一个较新的版本,所以如果我必须替换DataGridGridView,我们应该遵循哪些重要事项。

4

2 回答 2

3

两个控件中的几乎所有属性都相同。

您需要将标签替换为TemplateColumn,以进行控制。BoundColumnDatagridTemplateFieldBoundFieldGridview

于 2013-10-22T11:16:57.417 回答
3

我想添加以下链接来Premdeep's回答(在我写了这个问题并搜索了答案之后。)

  1. http://stackoverflow.com/questions/4734161/datagrid-vs-gridview

  2. http://www.codeproject.com/Questions/389336/What-is-the-diff-between-gridview-and-datagrid

  3. http://forums.asp.net/t/1844852.aspx

  4. http://www.dotnetspider.com/resources/39899-Difference-between-DataGrid-GridView.aspx

  5. http://www.youtube.com/watch?v=xb6t8gJm7Io&list=PL6n9fhu94yhW1NryGv6LxX4U4b07T4RlI

抱歉重复的问题,实际上我很匆忙写了这个问题并得到了反对,但没问题。

希望我的回答能帮助到其他人。

于 2013-10-22T11:58:30.900 回答