我在(.ascx)页面上的添加,编辑,更新,删除按钮和(.aspx)页面上的Gridview,点击编辑按钮,所选的gridview行应转换为可编辑模式。如何做到这一点....? [英] I am having Add,Edit,Update,Delete Button on (.ascx) page and Gridview on (.aspx) page,on click of edit button the selected gridview row should convert into editable mode.How to do this....?

查看:178
本文介绍了我在(.ascx)页面上的添加,编辑,更新,删除按钮和(.aspx)页面上的Gridview,点击编辑按钮,所选的gridview行应转换为可编辑模式。如何做到这一点....?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

请尽快回答

解决方案

要使网格视图行可编辑,您需要对要使其可编辑的字段使用模板列。



参考 https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowediting%28v=vs.110%29.aspx

please answer as soon as possible

解决方案

To make grid view row editable, you need to use template column for the fields which you want to make it editable.

Refer
https://msdn.microsoft.com/en-us/library/system.web.ui.webcontrols.gridview.rowediting%28v=vs.110%29.aspx


这篇关于我在(.ascx)页面上的添加,编辑,更新,删除按钮和(.aspx)页面上的Gridview,点击编辑按钮,所选的gridview行应转换为可编辑模式。如何做到这一点....?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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