使用c#隐藏gridview中其他下拉列表中选定的相同值 [英] hide selected same value from in other dropdownlist in gridview using c#

查看:86
本文介绍了使用c#隐藏gridview中其他下拉列表中选定的相同值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有网格视图,其中我使用下拉选择值。我想当用户选择值时,它不会在其他下拉列表中显示相同的值。例如,如果我在一个下拉列表中选择孟买,则相同的值将不会显示在网格视图中的其他下拉列表中的孟买。



谢谢



问候,

Manohar

I have grid view in which i used drop down to select value. i want when user select value it will not display same value in other drop down. for example If i select "Mumbai" in one drop down than same value will not display i.e. "Mumbai" in other dropdown in gridview.

thanks

Regards,
Manohar

推荐答案

如果您需要为每个绑定过滤数据。

也用于选择索引更改你需要绑定其他下拉列表
In case you need to filter Data for each bind.
also for selected index change you need to bind other dropdown as well


这篇关于使用c#隐藏gridview中其他下拉列表中选定的相同值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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