DataSet-Generator/Typed Dataset: created class always "Dataset1"

  • Thread starter news.microsoft.com
  • Start date
N

news.microsoft.com

Hello,
when i create a typed dataset from a given xsd-definition, the
ms-dataset-generator always names the dataset-class "Dataset1".
Of course it's possible, to rename the class in the source-code.
But this modification get lost after every change in the schema.
The source-code will be generated new in this case.

Any idea, where i can find the right property, to set the classname before
the source-code is generated?

I use the MS-.NET-IDE and C#.

Regards
Daniel
 
M

Miha Markic

Select xsd file in solution explorer, go to properties, and change
dataSetName property.
 

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