Benefits of Typed Dataset?

  • Thread starter Thread starter Akhil
  • Start date Start date
A

Akhil

Hi,

The only benefit of typed dataset is that we can check for type mismatch of
any values within dataset at compile time and not at runtime.

Is there any other benefit?,if yes please drop pointers to it.
 
There are also many downsides. Such as in a large project, you have to keep
track of a separate typed dataset for each table. In large programs with
large database structures, that could mean dozens of them. It means your
code stops being generic, since you are doing everything with typed datasets
to get the benefits of compile time checking.
It also means, you constantly have to keep the typed dataset schema in sync
with your database schema. So if you add columns to a table, you have to
remember to change your dataset...
 
Back
Top