且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

如何从GridView中删除行

更新时间:2023-12-04 11:43:58

您可以从数据源中删除该行.然后您可以重新绑定gridview.

更好的解释可能会产生更好的响应.
You can get rid of that row from the datasource. And then you can rebind the gridview.

A better explanation might yield a better response.


以下是从UI到实现其代码的背后步骤:
允许用户删除DataGrid Web服务器控件中的项目 [ ^ ]

如果不是这样的基本问题的书籍,请使用搜索引擎.
Here are the steps from UI to code-behind to achieve it:
Allowing Users to Delete Items in a DataGrid Web Server Control[^]

Kindly use search engines if not books for such basic questions.