Typed Dataset issue, Is this a bug IN VS 2003?

  • Thread starter Thread starter Arthur Dzhelali
  • Start date Start date
A

Arthur Dzhelali

I genereated typed dataset using several dataadapters in VS 2003.
Now if I go to dataset view and click on property of any col. change it
(for exsample make col. nullable) and save dataset, VB file associated
with datase is gone.
According to documentation vb file should be regenerated after each save of
the schema.

Am I doing something wrong?

Is there anyway to manually force VS generate typed dataset based on
excisted schema?

I believe I was able to change schema in VS UI and VB file got updated
automaticaly in VS 2002.
 
Arthur Dzhelali said:
I genereated typed dataset using several dataadapters in VS 2003.
Now if I go to dataset view and click on property of any col. change it
(for exsample make col. nullable) and save dataset, VB file associated
with datase is gone.
According to documentation vb file should be regenerated after each save of
the schema.

Am I doing something wrong?

Is there anyway to manually force VS generate typed dataset based on
excisted schema?

I believe I was able to change schema in VS UI and VB file got updated
automaticaly in VS 2002.

Right-click on the DataSet in the server explorer and choose "Run Custom
Tool". If this doesn't generate the dataset class, then there is probably a
problem with the XSD. First go to the DataSet designer and make sure
"Generate DataSet", then preview the dataset. This may report the error to
you.

Also you can run
xsd.exe someDataset.xsd /d
at the command line to manually invoke the dataset creation tool. This
should output any problems to the console.

David
 
Thank you.
Right-click on the DataSet in the server explorer and choose "Run
Custom Tool". If this doesn't generate the dataset class, then there
is probably a problem with the XSD. First go to the DataSet designer
and make sure "Generate DataSet", then preview the dataset. This may
report the error to you.

Also you can run
xsd.exe someDataset.xsd /d
at the command line to manually invoke the dataset creation tool.
This should output any problems to the console.

David
 
Back
Top