在dropdownlist的change事件里面写处理代码即可

解决方案 »

  1.   

    1.dropdownlist.autopostback=true
    2.write in dropdownlist_selectedindexchanged event
    private void drop1_selectedindexchanged(...)
    {
    txt1.text=drop1.selecteditem.text;
    }
      

  2.   

    textbox.text = "(这里写你需要添加的内容)"
      

  3.   

    textbox.text = textbox.text + "(这里写你需要添加的内容)"
      

  4.   

    在dropdownlist的change事件里面写
    textbox.text = textbox.text + "(这里写你需要添加的内容)"
    在dropdownlist的autopostback=true
      

  5.   

    dropdownlist 往listbox里添加倒是好一点
       ListBox.Items.add(DropDownList.SelectedItem.text)
      

  6.   

    在dropdownlist的事件编写
    textbox.Text=textbox.Text+"这里为你要添加的东西";然后在dropdownlist中把autopostback的值设为true
    这样选择dropdownlist中内容时就会自动添加内容到textbox中去