如何自动使用下拉列表中的国家和州.请给我紧急的代码. [英] How to use country and state in dropdownlist automatically..please give me the code its urgent..?

查看:107
本文介绍了如何自动使用下拉列表中的国家和州.请给我紧急的代码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何使用asp.net自动在下拉列表中使用国家和州...请给我代码紧急 ..?

How to use country and state in dropdownlist automatically by using asp.net ..please give me the code its urgent..?

推荐答案

它称为 Cascading Dropdown .

看这里:
CascadingDropDown演示 [使用SQL数据库的AJAX级联下拉示例 [ ^ ]
在选择ASP.NET上填充级联DropDownList [面向初学者的AJAX(第2部分)-使用XMLHttpRequest和jQuery AJAX实施级联下拉列表 [ ^ ]

ASP.NET级联下拉列表(CSASPNETCascadingDropDownList) [在ASP.NET MVC中级联DropDownList [在ASP.Net中创建级联DropDownList [将CascadingDropDown与数据库一起使用 [
It''s called Cascading Dropdown.

Look here:
CascadingDropDown Demonstration[^]
AJAX Cascading Dropdown Example using SQL Database[^]
Populate Cascading DropDownList On Selection ASP.NET[^]

If not update panels, then you need to use traditional AJAX - XMLHttpRequest.
Refer:
AJAX for beginners (Part 2) - Using XMLHttpRequest and jQuery AJAX to implement a cascading dropdown[^]

ASP.NET cascading drop-down-list (CSASPNETCascadingDropDownList)[^]

Cascading DropDownList in ASP.NET MVC[^]
Creating Cascading DropDownLists in ASP.Net[^]
Using CascadingDropDown with a Database[^]


这篇关于如何自动使用下拉列表中的国家和州.请给我紧急的代码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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