如何在另一个下拉列表的选定索引更改上将下拉列表填充到数据列表中? [英] How to fill dropdownlist in datalist onselectedindexchange of another dropdownlist?
本文介绍了如何在另一个下拉列表的选定索引更改上将下拉列表填充到数据列表中?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个包含一些行的数据列表,每行包含两个下拉列表1.诊断类型2.诊断名称. 类型"下拉列表中填充了类型".现在,在更改主题时,我必须从数据库中获取该类型的名称,并绑定到drst一章.
I have a datalist with some rows each row contains two dropdownlist 1. Diagnostic type 2. Diagnostic Namenames . Type dropdownlist is filled with Type. Now on changing the subject i have to get name that type from database and bind to the chapter drst How to do pls help me. Thanks.
推荐答案
基于类型下拉列表中的选定值,请击中db并填充类型"下拉列表中的诊断名称"下拉列表onselectedindexchanged
事件.
参见类似的讨论 [
Based on the type dropdown selected value hit the db and populate the Diagnostic names dropdownonselectedindexchanged
event of Type dropdown list.
see similar discussion[^]
这篇关于如何在另一个下拉列表的选定索引更改上将下拉列表填充到数据列表中?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文