Peter's Gekko

Sponsors

The Lounge

Wicked Cool Jobs

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
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

 


Posted Wed, Mar 10 2004 7:05 AM by pvanooijen

[Advertisement]

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Devlicio.us