asp.net中的网格视图问题 [英] grid view problem in asp.net
问题描述
我有一个网格视图,表示我正在使用页脚行接受用户数据.在页脚行中,每列都有用于输入数据的文本框.现在要通过页脚行接受数据,我必须禁用视图状态网格视图(因为不禁用其显示为null).现在,在按下按钮后我有一个按钮提交,数据应该保存在db中,页脚行应该变得不可见.但是我无法在其中将其设置为false代码是因为我已将视图状态设置为false(如果这样),请告诉我我应该做
i have a grid view in through that i am accepting user data using footer row .in footer row there are text boxes for data entry for each column .Now to accept data through footer row i have to disable viewstate of the grid view (because without disabling its showing null) .Now i have a button submit after pressing it data should get save in db and footer row should be made invisble .But i am not able to set it to false in code .is it because i have set view state to false if so plz tell me wt should i do
推荐答案
只是遍历下一篇文章.我确定它会为您提供帮助.
如何使用GridView插入记录 [
just walk through the following article.I''m sure it will help you.
How to insert record using GridView[^]
^ ]
http://forums.asp.net/t/1012069.aspx/1 [ ^ ]
希望你能得到确切的东西.
http://forums.asp.net/t/1416919.aspx/1[^]
http://forums.asp.net/t/1012069.aspx/1[^]
Hope here you can get the exact thing.
这篇关于asp.net中的网格视图问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!