做了个二级联动,因为图简单,用了updatepanel,莫名其妙的弹了个错误出来
"不能在 DropDownList 中选择多个项",用以下方法解决了
      
 this.DDL_Subject.ClearSelection(); //加这句清空就没事了
  this.DDL_Subject.Items.FindByText(subjectname).Selected = true;

相关文章:

  • 2021-07-25
  • 2022-12-23
  • 2021-10-20
  • 2021-07-11
  • 2022-12-23
  • 2021-12-24
  • 2022-03-03
  • 2022-12-23
猜你喜欢
  • 2021-05-18
  • 2021-05-25
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案