在gridvies中显示值 [英] display value in gridvies
本文介绍了在gridvies中显示值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何根据下拉列表中的选定项目在网格视图中显示值
how we can display a value in grid view according to selected item in to the dropdown list
推荐答案
以下代码项目文章可能会有所帮助
具有分页和过滤功能的自定义GridView [带有搜索选项(SearchableGridView)的ASP.NET GridView [ ^ ]
GridView-搜索控件 [
The following Code Project articles may be helpful
Custom GridView with Paging and Filtering[^]
ASP.NET GridView with search option (SearchableGridView)[^]
GridView-Search Control[^]
hi,
首先将下拉式自动回传设置为true
在列表框的onClick事件中编写用于填充网格的代码(下拉列表)
您可以通过以下方式获得下拉选择的值:-
dropdownId.Selected.Text
first set dropdown autopostback to true
write code for filling grid in onClick event of listbox(dropdown)
you can get dropdown selected value by:-
dropdownId.Selected.Text
这篇关于在gridvies中显示值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文