下拉列表框中的困难 [英] difficulties in drop down list box

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

问题描述

嗨 我有一个名为"addcategory"的表
其中有4个栏目类别,主题,问题,答案"
以aspx格式,我有两个下拉列表,一个用于添加类别,另一个用于广告主题
首先,我想在dropdown1中添加类别,然后从中选择一个类别,然后在dropdown2中添加相关主题,我还需要两个下拉列表中都没有重复的值,如果一个类别是该类别下的特定主题,也应该我可以在主题下拉列表中吗?请先在详细的thanx中向我详细介绍

解决方案

搜索级联下拉列表,您会发现许多资源,可帮助您根据基于选择另一个.


hi i had a table named as ''addcategory''
in that there 4 cols ''category,subject,question,answer''
in aspx form i have two drop down lists one for add category and other to ad subject
first i want to add category in dropdown1 and from that i select one category then add the related subjects in dropdown2 i also need there is no repeated values in both drop down lists ,also if one category is the particular subjects which are under that category should be in the subject drop down list wt can i do ? plz hlp me in detailed thanx a lot in advance

解决方案

Do a search for cascading dropdown, you will find many resources to help with populating one dropdown with values based on the selection in another.


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

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