如何在Gridview中通过按钮删除Gridview中的记录 [英] How to delete the record in Gridview through button with in Gridview

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

问题描述

我希望通过Gridview中的按钮删除Gridview中的选定行。

请给我解决方案

提前谢谢

解决方案

HI



我们正在尝试使用Gridviewclickevent清除所选行并使用事件对象,例如(e.Rowindex ==(somerowindex value) ))


检查出来:在ASP.NET Gridview中插入,更新,删除,作为SQL Server的DataSource,MS Access(mdb / accdb),XML和Framework为2.0 / 3.0 / 3.5 / 4.0(VS 2005/2008/2010) [ ^

Aa i want to delete the selected row in Gridview through button in Gridview.
please give me solution
thank you in advance

解决方案

HI

we are trying Gridviewclickevent to clear a selected row and uses the event object eg(e.Rowindex==(somerowindex value))


Check this out: Insert, Update, Delete in ASP.NET Gridview, DataSource as SQL Server, MS Access (mdb/accdb), XML and Framework as 2.0 / 3.0 / 3.5 / 4.0 (VS 2005/2008/2010)[^]


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

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