问题描述
我需要将GridView作为
R1 -----> ET1 ET2 ET3 ET4 ET5 ET6 B1
ET1 ET2 ET3 ET4 ET5 ------->(单击按钮B1后)
R2 -----> ET1 ET2 ET3 ET4 ET5 ET6 B2
ET1 ET2 ET3 ET4 ET5 ------->(单击按钮B2后)
R3 -----> ET1 ET2 ET3 ET4 ET5 ET6 B3
------->(如果用户未单击按钮,则不会显示)
在这里
R-行
ET-可编辑文本框
B-按钮
如何使用ASP.NET Gridview做到这一点?
或
是否有任何特定工具可以绑定到GridView行?
我看到了中继器控件的示例,但是我找不到它与可编辑文本框一样,所有示例仅在网格行下显示了详细信息(不进行编辑).
I need my GridView as
R1----->ET1 ET2 ET3 ET4 ET5 ET6 B1
ET1 ET2 ET3 ET4 ET5------->(After clicking button B1)
R2----->ET1 ET2 ET3 ET4 ET5 ET6 B2
ET1 ET2 ET3 ET4 ET5------->(After clicking button B2)
R3----->ET1 ET2 ET3 ET4 ET5 ET6 B3
------->(Not shown up if user not clicking button)
Here
R - Rows
ET - Editable Textboxes
B - Button
How can i do that with ASP.NET Gridview ??
or
Is there any specific tools to bind inside with GridView row ?
I saw examples of repeater control but i cannot find it as with editable textboxes, all examples are just showing the details(without edit) under grid row.
推荐答案
这篇关于ASP.NET GridView扩展功能的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!