The typed DataSet simply presets the schema for a DataSet.  You can fill
typed datasets in the identical way you would from the database.
Normally I create a DataAdapter per table in the DataSet or typed
DataSet.  This works fine.  If you need an example, reply and ask for
one and I'll craft one up quick.

Now if you started from an XSD that doesn't model the DataSet in a way
that is consistent with the database, you might want to use the Visual
Studio.NET's typed DataSet generation.

Thanks,

Shawn Wildermuth
[EMAIL PROTECTED]

> -----Original Message-----
> From: dotnet discussion [mailto:[EMAIL PROTECTED]]
> On Behalf Of David B. Bitton
> Sent: Sunday, April 14, 2002 10:22 PM
> To: [EMAIL PROTECTED]
> Subject: [DOTNET] Typed Dataset
>
>
> Is there a utility for created typed objects from database
> table structures? I know that I can use xsd.exe to create a
> dataset inherited class, but it appears as if it needs to be
> deserialized from XML.  Now, I understand I could do a FOR
> XML in my stored proc, but I'd like to bring it back in
> native format from the DB.  So, where do I go?
>
> --
>
> David B. Bitton
> [EMAIL PROTECTED]
> www.codenoevil.com
>
> Code Made Fresh DailyT
>
> You can read messages from the DOTNET archive, unsubscribe
> from DOTNET, or subscribe to other DevelopMentor lists at
> http://discuss.develop.com.
>

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to