DropDownList所选索引已更改 [英] DropDownList Selected Index Changed
本文介绍了DropDownList所选索引已更改的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在下拉列表方面遇到了麻烦,我相信可以为您提供帮助.我有一个基于查询填充的ddl.有时,我只能从列表中获得一项,这就是问题所在.我需要能够触发selectedIndexChanged事件或一种更好的方法,以便根据该ddl中的值执行一些代码.
有帮助吗?
预先感谢
JD
I am having trouble with a dropdownlist that I am sure that you can help with. I have a ddl that I fill based on a query. There are times when I only get one item in the list and this is where the problem occurs. I need to be able to fire the selectedIndexChanged event or a better method to execute some code based on the value in that ddl.
Any help? Articles?
Thanks in advance
JD
推荐答案
这是ASP.NET下拉列表吗?然后,您可能会在asp论坛中发布更好的运气:
http://forums.asp.net/
Is this an ASP.NET dropdownlist? Then you might have better luck posting in the asp forums:
http://forums.asp.net/
这篇关于DropDownList所选索引已更改的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文