Cannot have multiple items selected in a DropDownList

后端 未结 8 880
暖寄归人
暖寄归人 2020-12-30 19:11

I have two dropdownlist and a button. I used the breakpoint in my project and everything is working fine. But as soon I am getting out of the function of the button this is

8条回答
  •  感动是毒
    2020-12-30 20:06

    Make sure you are not databinding multiple ddls to the same datasource. Being selected is an attribute of an item, therefore, if different ddls select different items from the same datasource, each of the ddls ends up with multiple items selected which is probably what is happening here..

提交回复
热议问题