Create Dataset Object from Schema (xsd)

In VS 2003 we could save the dataset schema and it would create our typed Datset object automatically.  I cant see where to do this in VS 2005.  Can someone please explain how to handle this now.

Thanks

-j


Answer this question

Create Dataset Object from Schema (xsd)

  • CustomProgDB

    thank you jung,

    But when I save it.  There is no .cs file.   Remember in 2003 there would be one attached (associated) with the xsd file 

    Am I missing something

  • catchvic

    hello...

    1. just add new item DataSet....
    2. on the designer, select your datasource (Server Explorer-> Data Connections)
    (or, use items on the Toolbox there are items like TableAdapter, DataTable, Query)
    3. and drag and drop your datasource(table, sp,...) on the designer..
    4. to configure more, chose Data menu--> configure
    (or context menu--> configure)

    first time it was little bit un-familiar, but after couple of times pratice it gets better results and easier configuration practice than vs2003


  • TOMDX

    hello...

    show all files.
    it is now named like this.

    datasetName.Designer.cs (or, .vb)

    many of the souce file and location named differently
    i also little bit confused

  • Create Dataset Object from Schema (xsd)