DataSet

T

Tony Johansson

Hello!

There exist two types of DataSet. You can have untyped DataSet which is
created if you just do
DataSet myDS = new Dataset();
or you can have strongly typed DataSet which can be created from the
different tool that exist in VS for exampel
DataSource configuration Wizard.

I just wonder what advantages do I get if I use strongly types DataSet and I
assume that most people use untyped dataset ?

//Tony
 
A

Arne Vajhøj

There exist two types of DataSet. You can have untyped DataSet which is
created if you just do
DataSet myDS = new Dataset();
or you can have strongly typed DataSet which can be created from the
different tool that exist in VS for exampel
DataSource configuration Wizard.

I just wonder what advantages do I get if I use strongly types DataSet

That it is strongly typed!

:)
and I
assume that most people use untyped dataset ?

There are so many persistence options:
* untyped DataSet
* typed DataSet
* List<X> and plain DataReader
* LINQ to SQL
* EF
* NHibernate
etc.

I don't know how much each of them are used.

It will also strongly depends on the size of the project
and when the project was started.

Arne
 

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