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

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

Miha
Fri Dec 05 11:36:58 CST 2003

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

--
Miha Markic - RightHand .NET consulting & development
miha at rthand com

"news.microsoft.com" <daniel_kasselmann*REMOVE*@agilent.com> wrote in
message news:OZgqJSxuDHA.1876@TK2MSFTNGP09.phx.gbl...
> 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
>
>