如何将一个下拉列表与asp.net中的另一个下拉列表进行比较......? [英] HOW to Compare One Dropdownlist to Another Dropdownlist in asp.net...?

查看:81
本文介绍了如何将一个下拉列表与asp.net中的另一个下拉列表进行比较......?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

先生我有一个gridview和所有gridview列我采取dropdownlist和所有下拉列表相同的数据如果我选择一个下拉列表项目它不显示另一个下拉列表..

解决方案

< blockquote>我会在下拉列表中工作,而不是列表视图本身。



从第一个集合中找到第一个项目一个。

这应该给你两个独特的集合。


sir i have one gridview and all the gridview columns i take dropdownlist and all the dropdownlist same data if i selectd one dropdownlist item it not show another dropdownlist ..

解决方案

I would work at the collections bound to the drop downs rather than the list views themselves.

Remove an item from the second collection whenever it is found in the first one.
That should give you two unique collections.


这篇关于如何将一个下拉列表与asp.net中的另一个下拉列表进行比较......?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆