删除gridview中的记录 [英] delete records in gridview

查看:101
本文介绍了删除gridview中的记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

海,

如何使用复选框删除GridView中的多行,以及存储临时详细信息和未存储数据库的那些GridView.



Hai,

How to Delete multiple Rows in GridView using Check box and the gridview storing temporary details and those not storing database.



help me guys.

推荐答案

我给您一个链接,希望对您有所帮助

CodeProject常见问题系列1:ASP.NET GridView [ ^ ]


或者根据您的条件,您可以在会话中存储gridview数据,并在数据表中转换会话数据,并根据您的条件从此数据表中删除数据,然后再次将此数据表存储在会话中,并将此数据表绑定到网格.会起作用.
i am giving you a link i hope it will help you

CodeProject Frequently Asked Questions Series 1: The ASP.NET GridView[^]


or as per your condition you can store gridview data in session and convert session data in datatable and delete the data from this datatable as your condition and again store this datatable in session and bind this datatable to grid. it will work.


请参考:
使用Checkbox在GridView中删除多行 [ ^ ]
删除多行记录Gridview复选框确认 [批量删除(C#) [ ^ ]
Please refer:
Deleting multiple Rows in GridView using Checkbox[^]
Delete Multiple Rows Records Gridview CheckBox Confirmation[^]

Batch Deleting (C#)[^]


这篇关于删除gridview中的记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆