R
RK Henry
Ok, I'm relatively new to C#. Most of my experience has been with C++
and Java.
I'm trying to create a Dataset for a web application using the Dataset
Designer in Visual Studio 2005. I've read the articles, followed the
tutorials, etc. According to all of them, all I have to do is use the
wizard or drag tables from the server view panel. Ok, that's easy. It
even figures out the relationships from the table keys. (For these
experiments, I'm using the Northwind sample database.) An XSD is
created, ok there too. Now how do I get it to create the .CS class
files that the articles all talk about?
There's a button on the Designer toolbar for which the tool tip says,
Generate Code, but it's greyed out. Is there no way to force
generation of classes?
Of what use is the XSD if there's no C# code to link into my
application? I hope I'm not expected to write all those wrapper
classes by hand.
RK Henry
and Java.
I'm trying to create a Dataset for a web application using the Dataset
Designer in Visual Studio 2005. I've read the articles, followed the
tutorials, etc. According to all of them, all I have to do is use the
wizard or drag tables from the server view panel. Ok, that's easy. It
even figures out the relationships from the table keys. (For these
experiments, I'm using the Northwind sample database.) An XSD is
created, ok there too. Now how do I get it to create the .CS class
files that the articles all talk about?
There's a button on the Designer toolbar for which the tool tip says,
Generate Code, but it's greyed out. Is there no way to force
generation of classes?
Of what use is the XSD if there's no C# code to link into my
application? I hope I'm not expected to write all those wrapper
classes by hand.
RK Henry