在单击按钮时编辑gridview行 [英] edit gridview row on button click

查看:73
本文介绍了在单击按钮时编辑gridview行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,我是一位C#初学者,需要一些有关gridview的帮助.除了需要具有自动生成的编辑和删除"按钮外,我还需要在网格侧面具有一些按钮,这些按钮将引发Rowediting和Delete事件.我们将不胜感激.

Hi all, I am a beginner C# developer and need some help with my gridview. Instead of having the autogenerated edit and delete button I need to have buttons on the side of grid that will raise the Rowediting and deleting events. Any help will be much appreciated.

推荐答案

http://csharpektroncmssql.blogspot.in/2011/12/link-button-in-gridview-in-aspnet. html


通过此链接
http://csharpektroncmssql.blogspot.in/2011/12/link-button-in-gridview-in-aspnet.html


go through this link


您好,
请参考以下链接:
在ASP.NET中编辑单个GridView单元格 [ ^ ]
在GridView中进行就地编辑 [带有文本框,复选框,单选按钮和下拉列表的可编辑Gridview [ ^ ]
在ASP.NET 2.0中可编辑GridView [ ^ ]


--Amit
Hi,
Refer the links below:
Edit Individual GridView Cells in ASP.NET[^]
Inplace Edit in GridView[^]
Editable Gridview with Textbox, CheckBox, Radio Button and DropDown List[^]
Editable GridView in ASP.NET 2.0[^]


--Amit


大家好.感谢您的回答,我已经找到如何使用gridview rowcommand事件来执行所需的操作.我在此处获得了答案.
Hi all. Thanks for your answers, i have found out how to do what i need using the gridview rowcommand event. I got my answer here.


这篇关于在单击按钮时编辑gridview行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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