在Gridview中编辑必须打开弹出窗口以编辑记录

编程入门 行业动态 更新时间:2024-10-27 12:24:17
本文介绍了在Gridview中编辑必须打开弹出窗口以编辑记录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

你好朋友, 正在使用asp c#,Sqlserver. 目前,我需要从gridview编辑记录. 我在Gridview中有一个链接按钮(编辑).当我单击编辑"按钮时,必须显示一个新表单来编辑记录,并且我应该对其进行更新. 请帮帮我, 永远非常感谢.

Hello Friends, am working on asp 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中编辑必须打开弹出窗口以编辑记录

本文发布于:2023-08-06 04:36:35,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1310110.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:编辑   弹出窗口   Gridview

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!