Problem on DataSet.

M

Mr. X.

Hello.
I have a DataSet in my C# code.
When I change the DataSet (just move one of the table on the screen),
the namespace's name, for some reason I don't know, is changed (from
myDataSet to myDataSet2.
(Maybe this name is placed on one of the dataset files).

I change the namespace back to the one I want,
and project compiled without errors, but with message :
Could not find schema information for the element
'urn:schemas-microsoft-com:xml-msdatasource-layout:DiagramLayout'.

How can I fix the above problem?

Thanks :)
 
M

Mr. X.

Solved.
In folder Properties, there was some files with the "unwanted" namespace's
name.
So I changed this manually.
I had a copy of dataset with all its files:
copy those files manually (xsd, xss, xsc, cs)
I realized that cs.designer is created automatically, so I didn't copy it.
I have opened the project again and include the xsd file.
I don't like this kind of solution, but problem solved.

Thanks, anyway :)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top