不好意思,刚才错了
是这样的
DropDownList1.SelectedItem.Selected.ToString

解决方案 »

  1.   

    楼上的错了,忘了()了,是这样
    DropDownList1.SelectedItem.Selected.ToString();
      

  2.   

    是因为你没有在
    if(!Page.IsPostBack)
    {
      应该邦定//
    }如果你在外面邦定,页面重载是DropDownList会重新绑定,所以你得到的是第一项这种问题有很多人问过了啊
      

  3.   

    DropDownList.items(DropDownlist.selectedIndex).value
    DropDownList.items(DropDownlist.selectedIndex).Text
      

  4.   

    DropDownList.SelectedItem.value
    DropDownList.SelectedItem.Text
      

  5.   

    if(!Page.IsPostBack)
    {
      应该邦定//
    }DropDownList.DataTextField="name"
    DropDownList.DatavalueField="ID"
    DropDownList.SelectedItem.value
    DropDownList.SelectedItem.Text