网格视图中的下拉列表 [英] dropdown list in grid view
本文介绍了网格视图中的下拉列表的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要 获取特定<的下拉列表 span class =code-keyword>列
gridview
。该列在绑定数据库后出现。
解决方案
在Gridview中使用
。在TemplateField
TemplateField
中拖放工具栏中的下拉列表。然后在RowDatabound中的代码隐藏FindControl
DropdownList并通过数据库绑定它。
请参考以下链接了解更多信息帮助
http ://usingaspdotnet.blogspot.in/2011/03/dropdownlist-inside-gridview-in-aspnet.html [ ^ ]
谢谢
< br>
读取并使用:
试试这个
[ ^ ]
问候.. 。
Mitesh
你好,只是Google吧会得到很多结果:
在GridView中访问DropDownList
1. GridView(或DataGrid)内的DropDownList
2. 如何在GridView控件中获取DropDownList。
3. GridView内的DropDownList
4. GridView asp中的DropDownList。净
5. 在gridview Asp.Net中使用Dropdownlist?
感谢..
i need to get a dropdown list in a particular column
of gridview
. That column appears after binding a database.
解决方案
UseTemplateField
inGridview
.In thatTemplateField
drag and drop a dropdownlist from Toolbar. Then in codebehind in RowDataboundFindControl
DropdownList and bind it through database.
Please refer to the following link for more help
http://usingaspdotnet.blogspot.in/2011/03/dropdownlist-inside-gridview-in-aspnet.html[^]
Thanks
read this and use :
try This
[^]
Regards...
Mitesh
Hello Just Google it you will get a lot of results :
Accessing a DropDownList inside a GridView
1. DropDownList inside a GridView (or DataGrid)
2. how to get to DropDownList in GridView Control.
3. DropDownList Inside GridView
4. DropDownList in GridView asp.net
5. Using Dropdownlist in a gridview Asp.Net?
Thanks..
这篇关于网格视图中的下拉列表的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文