设置数据表选中的值: 
dropdowslist.selectedIndex=-1  
  dropdownlist.Items.findbyvalue(你的值).selected=true  
  或  
  dropdownlist.Items.findbytext(你的值).selected=true

  for   example:  
  drop1.Items.FindByValue("5").Selected=true;  
  drop1.Items.FindByText("hello").Selected=true;  

相关文章:

  • 2022-12-23
  • 2022-01-31
  • 2021-10-25
  • 2021-06-07
  • 2021-11-28
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-05-31
  • 2021-09-21
  • 2021-05-31
  • 2022-01-29
相关资源
相似解决方案