Gridview中的数据处理 [英] Data manipulation in Gridview
问题描述
我不知道如何绑定嵌套的gridview,即我给了一个gridview1,其中包含四列,如userid,username,address和一个按钮(Text = +),我的任务是
1)当我在gridview1中单击加号(+)时,特定记录将显示在gridview1内的另一个gridview2中,并且将变为Minus(-).
2)当我单击减号(-)时,Gridview2将消失,并且应出现gridview1,请提供此问题的代码.
如果可以,请使用ASP.NET AJAX.
谢谢.
Hi,
i have no idea on how to bind nested gridviews i.e i gave one gridview1 that contains four columns like userid, username, address and one button(Text=+), my task is
1)when i click on the plus(+) symbol in the gridview1 that particular record will be display in another gridview2 within the gridview1 and the will be change into Minus(-).
2)when i click on the Minus(-) Gridview2 will be disappear and gridview1 should be appear please give code for this problem.
Shall i use ASP.NET AJAX if it is give me code for that.
Tahnking you.
推荐答案
可折叠DataGrid和GridView控件 [ ^ ]
这篇关于Gridview中的数据处理的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!