Reputation: 3941
I have created a dataset with the C# designer following this tutorial http://www.devx.com/dotnet/Article/28678/1954 ; When I drag and drop a datable on a form and run the program it says it says the type name XMLDB doesn't exist in the type XMLDB.XMLDB on line
this.XMLDB = new XMLDB.XMLDB();
Why ? How to fix it ?
Upvotes: 1
Views: 63
Reputation: 1064114
Well, having a conflicting property and namespace and class name is usually a big warning sign (or 3, in this case); the first thing I'd try is fixing the names to be unambiguous;
this.DB = new SomeNamespace.XmlDB();
Upvotes: 2