不清楚你这么做的目的啊,你的绑定中肯定设置了selected的属性了的

解决方案 »

  1.   

    你在 DropDownList1_SelectedIndexChanged 事件里面先用 DropDownList.Items.Clear();方法将原来的数据清除,再绑定新的数据试试。
      

  2.   

    估计你在代码里不止一个item的Selected设为了true
    你可以换一种选择方式试试DropDownList1.SelectedIndex=i
      

  3.   

    Public Function Init_Value()
            Dim priv As String = "651"
            DropDownList1.Items.FindByValue(priv).Selected = True        ''''DropDownList1.SelectedItem.Selected = False
         End Function    Public Function countselect()
            DropDownList1.DataSource = get_datasourse
            DropDownList1.DataTextField = "columnname"
            DropDownList1.DataValueField = "id"
            DropDownList1.DataBind()
        End Function
      

  4.   

    Public Function Init_Value()
            Dim priv As String = "651"
            '先清除选中
            DropDownList1.SelectedItem.Selected = False
            DropDownList1.Items.FindByValue(priv).Selected = True     End Function    Public Function countselect()
            DropDownList1.DataSource = get_datasourse
            DropDownList1.DataTextField = "columnname"
            DropDownList1.DataValueField = "id"
            DropDownList1.DataBind()
        End Function
      

  5.   

    DropDownList.Items.Clear 设置了也没有用可能是.net自身的问题,今天早上一来,没有做任何修改又对了