在Gridview中编辑必须打开弹出窗口以编辑记录 [英] Edit in Gridview must open popup window to edit the records
本文介绍了在Gridview中编辑必须打开弹出窗口以编辑记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好朋友,
正在使用asp.net c#,Sqlserver.
目前,我需要从gridview编辑记录.
我在Gridview中有一个链接按钮(编辑).当我单击编辑"按钮时,必须显示一个新表单来编辑记录,并且我应该对其进行更新.
请帮帮我,
永远非常感谢.
Hello Friends,
am working on asp.net c#,Sqlserver.
presently i need to edit the records from gridview.
i have a link button(Edit) in Gridview. when I click the Edit button a new form must be displayed to edit the records and i should update it.
Please help me guys,
Thanks a lot for ever.
推荐答案
这很容易做到.只需在显示表格弹出框的每一行上建立一个链接,该链接将在URL上获取记录ID,显示该记录,然后对其进行编辑.
This is easy to do. Just make a link on each row that shows a popup to a form, which takes the record id on the URL, show the record, and edit it.
这篇关于在Gridview中编辑必须打开弹出窗口以编辑记录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文