订购下拉列表的数据 [英] to order the data of dropdown list
本文介绍了订购下拉列表的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个针对城市的下拉列表
在该下拉列表中,我添加了以下功能:-
巴默
斋浦尔
焦特布尔
Bikaner
当我在下拉列表中写入B时,其名称以B开头的城市就位于下拉列表的顶部,例如:-
巴默
Bikaner
斋浦尔
焦特布尔
因此,请提供下拉列表代码
i have a dropdownlist for feild city
in that dropdownlist following features are i added :-
Barmer
Jaipur
Jodhpur
Bikaner
when i write B in dropdownlist then the cities whose names are start with B are come top of the dropdownlist like:-
Barmer
Bikaner
Jaipur
Jodhpur
so please give the dropdownlist code
推荐答案
多次发布而不需要付出任何努力的意义是什么?
此处: c#代码用于下拉列表,其列表数据按顺序设置.. [
Whats the point of posting it multiple times without making any effort whatsoever?
Here: c# code for dropdown list whose data are set in order..[^]
Please avoid it.
Hello Ritu,
请通过以下URL:
使用C#在ASP.NET中排序下拉列表 [ ^ ]
检查工作正常.
谢谢
灰烬
Hello Ritu,
Please go through the following URL:
Sorting Dropdown list in ASP.NET using C#[^]
Checked working fine.
Thanks
Ashish
这篇关于订购下拉列表的数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文