通过ajax jquery asp.net加载数据 [英] Load data by ajax jquery asp.net

查看:75
本文介绍了通过ajax jquery asp.net加载数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在编写一个web项目aspx,c#。我有关于ajax加载数据的问题:

i有:

- 用于包含学校所有课程的dropdownlist1

- dropdownlist2用于包含班级中的所有学生

- >我希望dropdownlist2中的数据加载(通过ajax)我选择了dropdownlist1的值

数据:类(id,classname),学生(id,name,ClassID)

请帮帮我!非常感谢你!

I were coding a web project aspx, c#. i have a problem about load data by ajax:
i have:
- a dropdownlist1 used to contain all classes in a school
- a dropdownlist2 used to contain all students in a class
-> i want datas in dropdownlist2 are loaded (by ajax) after i have selected a value of dropdownlist1
Data: Class(id, classname), Student(id, name, ClassID)
please help me! thank you so much!

推荐答案

检查链接我希望它对你有所帮助



使用JQuery和WebService进行下载下拉列表 [ ^ ]







添加链接文字以反映文章/质量保证标题。

[/编辑]
Check the link I hope it helps you

Cascading Dropdownlist using JQuery and WebService[^]



Link text added to reflect the Article/QA title.
[/Edit]


这篇关于通过ajax jquery asp.net加载数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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