<newbie> creating typed DataSet, how??

J

Jeff

ADO.NET 2.0

I'm wondering how to create typed DataSet in Visual Studio 2005 (.NET 2.0)??

If you knows about a great article showing this, then please post the link
here!

Jeff
 
R

Robbe Morris - MVP C#

Why bother? Just load the data into a custom List<SomeClass>.
Check out the code generator below that will map this
stuff dynamically for you at runtime.
 
C

cjard

Why bother? Just load the data into a custom List<SomeClass>.

You could consider a typed datarow as "someclass", and the typed
datatable as the list.. I guess that's why you'd bother :)
 
C

cjard

Why bother? Just load the data into a custom List<SomeClass>.

Incidentally, I checked out your util.. very interesting, but I dont
think it goes quite as far as a DataSet with DataTable/DataRelation
does.. Perhaps if you got to thinking that DataSets sucked in 1.1 you
should review the case; in 2.0 you will never again write the words
SqlCommand, SqlAdapter etc (one of the selling points of your util)..
It provides an interface essentially similar to yours, but visually
designed and very powerful under the hood.. Have a look at the
walkthroughs I posted, i think you'll enjoy them
 

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