级联下拉列表 [英] Cascading drop down list

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

问题描述

大家好,

我想把国家,州和城市的级联下拉列表。为此,我必须将所有国家,城市和州置于数据库中,或者还有其他方法可以做到这一点。请建议。

解决方案

Ajax工具中的CascadingDropDown:





< a href =http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/CascadingDropDown/CascadingDropDown.aspx> http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/CascadingDropDown/CascadingDropDown.aspx [< a href =http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/CascadingDropDown/CascadingDropDown.aspxtarget =_ blanktitle =New Window> ^ ]





http://www.asp。 net / AjaxLibrary / AjaxControlToolkitSampleSite / Walkthrough / CCDWithDB.aspx [ ^ ]

Hi Everyone,
I want to put the cascading drop down list for country, state and city. For that i have to put all the country, city and states in database or is there any other way to do this. Please suggest.

解决方案

CascadingDropDown in Ajax Tools:


http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/CascadingDropDown/CascadingDropDown.aspx[^]


http://www.asp.net/AjaxLibrary/AjaxControlToolkitSampleSite/Walkthrough/CCDWithDB.aspx[^]


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

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