级联的DropDownList [英] Cascading DropDownList

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

问题描述

你好

我想通过数据库从一个表中级联三个下拉列表...

例如.如果在第一下拉列表中选择国家印度,则在第二下拉列表中仅显示与印度相关的州,例如马哈拉施特拉邦,而在第三下拉列表中仅显示与第二下拉列表中的所选州相关的城市.通过此操作,还可以使用自动生成的密码将记录插入数据库中.

请帮帮我. :)

Hello

I want to cascade three dropdownlists by using database, from only one table...

Eg. if in 1st dropdownlist I select country India then in 2nd dropdownlist shows only states related to India eg Maharashtra, and in 3rd dropdownlist only shows cities related to selected state from 2nd dropdownist. With this also insert the record in data base with autogenerated password.

Please help me out. :)

推荐答案

请检查以下文章:

http://www.dotnetspider.com/resources/39350-Cascading-DropDownList.aspx [ ^ ]

http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_a_JSON. "http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx" target ="_ blank" title ="New Window"> ^ ]
Please check the following articles:

http://www.dotnetspider.com/resources/39350-Cascading-DropDownList.aspx[^]

http://www.codedigest.com/Articles/jQuery/224_Building_Cascading_DropDownList_in_ASPNet_Using_jQuery_and_JSON.aspx[^]


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

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