To overcome this error, you should clear the previous selection of your ddl as following:
ddl.ClearSelection();
via c# – Cannot have multiple items selected in a DropDownList – Stack Overflow.
My bookmarks and blogposts regarding Web Development in Angular, JavaScript, CSS, Html, C# and .NET
To overcome this error, you should clear the previous selection of your ddl as following:
ddl.ClearSelection();
via c# – Cannot have multiple items selected in a DropDownList – Stack Overflow.