asp.net中的网格视图绑定 [英] grid view binding in asp.net

查看:66
本文介绍了asp.net中的网格视图绑定的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个页面,其中有一个网格视图,其中的值来自数据库,并且具有edit和delate选项.
但是要添加,我在网格视图下有文本框,而不是在网格视图中. 请告诉我如何将文本框的值添加到gridview或告诉我,如果我这样做的另一种方式是使用文本框在< footerr temlplate =">中插入新值

I have a page in which a have a grid view in which values are coming from database and it have edit and delate option .
but for adding i have text boxes below grid view , not in grid view.
please tell me how to add values of textbox to gridview or tell me that if i do it another way that i use textbox for inserting new values in <footerr temlplate=""> of grid view how can i make them show if there is no other values in grid view.

推荐答案

不确定如何正确理解您的问题.如果您希望将数据插入gridview,则可以查看以下CP文章
使用Gridview插入,更新,删除...简单方法 [ ^ ]
Not sure if i understood your question correctly. If you are looking to insert data into gridview you can check the below CP article
Insert, Update, Delete with Gridview ... Simple Way[^]


这篇关于asp.net中的网格视图绑定的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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