下拉选择的值 [英] dropdown selected values

查看:67
本文介绍了下拉选择的值的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用2个下拉列表,因为第一个下拉列表包含一些值..i正在通过数据库进行绑定..
在第一个下拉列表中包含第十个
2nd pu

第二个下拉列表包含第十个
2nd pu


如果我从1个下拉菜单中选择第10个,则应从第2个下拉列表(仅10个)中将其删除,如下所示
任何人都可以就此问题提供帮助


问候,
manohar

hi i am using 2 dropdowns in that 1st dropdown contains some values..i am binding through database..
in that 1st dropdown contains 10th
2nd pu

2nd dropdown contains 10th
2nd pu


if i am selecting 10th from 1 drodown it should be removed from 2nd dropdown(oly 10th) like so on
can anyone help regarding this issue


regards,
manohar

推荐答案

如果您正在编写桌面应用程序(这是C#3.0的意思),那么您只需遍历下拉列表中的选项集合,并删除它.如果不是,则可以使用jquery(如果它是Web应用程序),并且可以正确标记您的问题并在下次将其弄清楚.
If you''re writing a desktop app ( which is what C# 3.0 means ), then you just go through the collection of options in your drop list, and remove it. If you''re not, then you could use jquery if it''s a web app, and also, tag your question properly and make it clear, next time.


如果是台式机应用程序如果网站可以使用js或jquery脚本,则可以进行后台处理.
if a desktop app can background processing ,if a web can use js or jquery script.


这篇关于下拉选择的值的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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