CodeBetter.Com
CodeBetter.Com
RSS 2.0 via Feedburner
           Do you Twitter? Follow us @CodeBetter

Peter's Gekko

public Blog MyNotepad : Imho { }

Importing datasets in a VS solution

Yesterday I posted about a problem Patrick Peters (faithfull SDGN member) had with a dataset. The problem was that VS did not generate the dataset class for a given schema. I could reproduce his problem but could not produce a solution. Stared myself blind on the schema, posted it, got some helpfull hints. This morning I took a fresh look and I think I have found it.

The schema is OK, it is what VS.NET is (not) doing with it. Items in the solution have a custom tool, for a dataset this should be MSDataSetGenerator. For the imported dataset the tool had gone missing. Filling in MSDataSetGenerator resulted in the desired dataset classes turning up. The tool setting is stored in the project and can be set from the property window

The question why the tool got lost remains to be solved...

Peter

 



Check out Devlicio.us!