Compile Typed Dataset

Hi. I am a newbie and had a basic question. It seems that advantage of typed datasets is type validation at compile time. This would imply that without a compiler, generating a typed dataset is impossible. Is this true

Answer this question

Compile Typed Dataset

  • Kazdal

    As far as the compiler is concerned, a typed DataSet is really just like any other class. Type validation of typed DataSet code occurs according to the same rules as any other code.

    Regarding generating typed DatSets, this is done by a separate tool--MSDataSetGenerator if you're using the DataSet Designer or XSD if you want more flexibility.

    See this article for more information about XSD.
    See this entry in Bruce Jackson's weblog for more information about using MSDataSetGenerator.


  • Compile Typed Dataset