Quantcast
Channel: SharpDevelop Community
Viewing all articles
Browse latest Browse all 1764

WinForms + DataSet: the table editor doesn't show changed tables

$
0
0

Hi, in a windows forms application I use a dataset (data.cs, data.designer.cs, data.designer.xsd). In a former version, there were 5 tables. Now I changed the xsd file using 3 tables (partially other columns) and recreated the designer.cs using xsd.exe. I compiled the app and got a lot of errors, of course. My problem is as follows: I open my MainForm in design mode, choose in the tools window "user defined components", add a data instance onto the form, go to the property editor, open the tables editor. Oops, there are shown the former 5 tables, not the actual ones. I'm not able to remove the wrong ones nor to open the columns list. That shows me that #D recognizes the data definition as wrong, but it's not able to show the current items.

I tried "Säubere Projektmappe", remove the data files and re-adding them to the project, remove the data item from the user defined components and recompile - nothing helps.

How can I cause the editor to show the correct version of the dataset? Thank you for hints! Juergen

PS. The old tables are called by several controls via DataBindings but I don't find a place where they are defined. I assumed that the missed tables lead to errors and planned to change the source following the errors


Viewing all articles
Browse latest Browse all 1764

Trending Articles