how to create those dataset class files in web services?

I am new, and am learning the taskvision now. I noticed that there are a lot of DataSet classes files in the web services project. For example, DataSetTasks.vb, DataSetProjects.vb, DataSetProjectHistory.vb, ... I opened thoses files, at the beginning, it read: 

'------------------------------------------------------------------------------
' <autogenerated>
'     This code was generated by a tool.
'     Runtime Version: 1.0.3705.209
'
'     Changes to this file may cause incorrect behavior and will be lost if 
'     the code is regenerated.
' </autogenerated>
'------------------------------------------------------------------------------

So my question is how to auto generate those files  which tool is used. I tried to right click the project, then add new class for DataSet, it could only auto generate DataSetMytable.xsd, no DataSetMytable.vb file.

Thanks for your help.


Answer this question

how to create those dataset class files in web services?

  • Ron Gliane

    Create an xsd file, right click and make sure that the 'Generate Dataset' option is checked and save it. If you navigate to the folder you should see the class file. It's just a skeleton file though.
  • dexxter

    I am using Visual Studio 2005 and trying to include a new database. I created the xsd file, but where is the 'gernerate dataset' option to build the .vb code


  • how to create those dataset class files in web services?