Label1.Text = DropDownList1.SelectedValue.ToString();
或者DropDownList1.SelectedItem.Text
本文介绍如何在网页中利用DropDownList控件实现数据的选择与文本显示,通过Label控件获取并展示DropDownList的选定值或当前项文本。
Label1.Text = DropDownList1.SelectedValue.ToString();
或者DropDownList1.SelectedItem.Text

被折叠的 条评论
为什么被折叠?
