我有一个gridview,3个下拉列表.当我选择第二个下拉列表时,当我选择第一个下拉列表时,我必须执行DML操作,同时在第二个下拉列表中显示的相关数据也要... [英] I Have a gridview , 3 dropdownlists.Ihave to perform DML operations , when i select 1st dropdownlist the related data displyed with in the 2nd dropdownlist simlerly if i elect 2nd ...

查看:118
本文介绍了我有一个gridview,3个下拉列表.当我选择第二个下拉列表时,当我选择第一个下拉列表时,我必须执行DML操作,同时在第二个下拉列表中显示的相关数据也要...的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,
我有一个gridview和3个下拉列表控件.当我选择第2个下拉列表控件时,如果我选择第2个下拉列表控件,则必须执行DML操作,如果我选择第2个下拉列表控件,则相关数据将在第3个下拉列表控件中通过DML操作显示.在gridview

Hi to all,
I Have a gridview and 3 dropdownlist controls.Ihave to perform DML operations with when i select 1st dropdownlist control the related data displyed with in the 2nd dropdownlist control simlerly if i select 2nd dropdownlist that related data will be displayed in 3rd dropdownlist control with DML operations in the gridview

推荐答案

中,可以使用Ajax级联DropDownList解决问题:-
使用Asp.net数据库的Ajax级联下拉列表示例 [ ^ ]

希望此链接对您有所帮助.
祝你好运.
You can use Ajax Cascading DropDownList for solving your problem:-
Ajax Cascading Dropdownlist Sample with database using asp.net[^]

I hope this link will help you.
Best of luck.


这篇关于我有一个gridview,3个下拉列表.当我选择第二个下拉列表时,当我选择第一个下拉列表时,我必须执行DML操作,同时在第二个下拉列表中显示的相关数据也要...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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