如何填写基于下拉选择
我有一个表中的文本框:填充文本框时选择值形式下拉
empid empshortname empname empdesignation
当我从下拉是选择empshortname应该是填补empname在一个文本框,empdesignation在这样的另一个文本框,我想基于单一选择
由于填补许多文本框,并认为
sreedhar
如何填写基于下拉选择
我有一个表中的文本框:填充文本框时选择值形式下拉
empid empshortname empname empdesignation
当我从下拉是选择empshortname应该是填补empname在一个文本框,empdesignation在这样的另一个文本框,我想基于单一选择
由于填补许多文本框,并认为
sreedhar
我明白,你想采取从下拉列表中值empshortName,并根据其选择DB的他人财物或者地方.. 这样,才能得到所选择的值empshortName写了一个事件函数:SelectedIndexChanged并且有写:
string empName=dropdown.Items[dropdown.selectedIndex].value;//to get the key value
or:
string empName=dropdown.Items[dropdown.selectedIndex].Text; //to get the display text
氏S的关系让你去:) http://api.jquery.com/change/
感谢您接受我的回答。请投票给它,如果你不介意的话... – 2012-05-09 06:51:54