this.DropDownList1.SelectedValue得到索引值,相当于数据库中的id
this.DropDownList1.SelectedItem得到显示值,相当于数据库中的内容
this.DropDownList1.SelectedIndex得到序号,从0开始。。
注意区分
this.DropDownList1.SelectedValue得到索引值,相当于数据库中的id
this.DropDownList1.SelectedItem得到显示值,相当于数据库中的内容
this.DropDownList1.SelectedIndex得到序号,从0开始。。
注意区分