如何在单击“添加"按钮时而不是在页脚中在网格视图中添加行 [英] how to add a row in grid view when clicking add button but not in footer

查看:92
本文介绍了如何在单击“添加"按钮时而不是在页脚中在网格视图中添加行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

新添加的行需要包含我们单击添加按钮的行的某些列值.

newly added row need to contain some column values of the row where we clicked add button

推荐答案

不确定我是否正确理解了您的问题.如果您希望将数据插入到gridview中,则可以查看以下文章
带有插入行的GridView [在ASP.NET 2.0中可编辑GridView [ ^ ]
具有插入功能的扩展GridView [使用Gridview插入,更新,删除...简单方式 [ ^ ]
Not sure if i understood your question correctly. If you are looking to insert data into gridview you can check the below articles
GridView with insert line[^]
Editable GridView in ASP.NET 2.0[^]
Extended GridView with Insert Functionality[^]
Insert, Update, Delete with Gridview ... Simple Way[^]


这篇关于如何在单击“添加"按钮时而不是在页脚中在网格视图中添加行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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