日期:2014-05-18  浏览次数:20476 次

弱弱的问下,请指点!
this.Label1.Text=this.DropDownList1.SelectedItem.ToString();      
    this.Label2.Text=this.DropDownList1.SelectedIndex.ToString();      
    this.Label3.Text=this.DropDownList1.SelectedValue.ToString();
有什么区别啊?不太理解!!!
 
问得有点弱,请前辈指点!

------解决方案--------------------
SelectedIndex 获取或设置 DropDownList 控件中的选定项的索引(是个从0开始的整数)
SelectedItem 获取列表控件中的选定项(一项包括Value(值)和Text(文本))
SelectedValue 获取列表控件中选定项的值