kimprogrammer
Programmer
Hello
I have my project that i have been working on for a bit - yesterday I added a new combobox in the designer and connected it to a bindingsources - everything looked ok and I finished for the day and saved my project. Today when I loaded my project I received the error "ComboBox that has a DataSource set cannot be sorted. Sort the data using the underlying data model." on the designer page and cannot see the screen. In the code I have the combo box being filled by a table adapter.
I did try a rebuild.
I've searched the site an got only one hit with this error - but they are doing something different so it was of no help.
If I set something up incorrectly(ie sort) in the properties page how do I fix it if I can't get to it. And I don't see what code I would change although I commented out the tableadapter. I did try changing the sql query I have for the file with the datasource (ie removed the order by)
Thanks for the help
I have my project that i have been working on for a bit - yesterday I added a new combobox in the designer and connected it to a bindingsources - everything looked ok and I finished for the day and saved my project. Today when I loaded my project I received the error "ComboBox that has a DataSource set cannot be sorted. Sort the data using the underlying data model." on the designer page and cannot see the screen. In the code I have the combo box being filled by a table adapter.
I did try a rebuild.
I've searched the site an got only one hit with this error - but they are doing something different so it was of no help.
If I set something up incorrectly(ie sort) in the properties page how do I fix it if I can't get to it. And I don't see what code I would change although I commented out the tableadapter. I did try changing the sql query I have for the file with the datasource (ie removed the order by)
Thanks for the help