when i try to clear combo box giving cboemp.items.clear i get error
"cannot modify the items collection when datasource property is set" how can i handle this
You have a databound combobox so therefore you should not be clearing the items using that method. Either remove the data you want to clear from the underlying datatable, or don't bind the combobox to start with and read the values in using the combob's items.add method.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.