Moving a windows form (with dataset) from one project to another

  • Thread starter Thread starter Steve F. _
  • Start date Start date
S

Steve F. _

Guest
This must be a common problem, so perhaps someone can point me to a Knowledgebase article. I've got a form that works fine in a completed project. It's a windows form that uses a dataset and tableadapter (which show in the tray below). Now I'm developing a different project that requires a very similar form. I want to "copy" that form into my new project, make some minor changes, and then save it under a new name. So I "added" the form. No real problem, except that the data stuff from the "tray" didn't come with it. So I "added" the DataSet.xsd file from the first project. It looked good on it's page, but wouldn't "Preview Data" - no connection string. So I manually typed in the connection string into the MyProject.Settings.Settings. Now when I try to "Preview Data" I get an error message that it is missing "type info" for the dataset.
How do I copy the "type info" to my new project, and is this going to be the end of it? Does there exist to step-by-step guide to copy this kind of data intensive form from one project to another?
Thanks for any help
- Steve F.

Continue reading...
 
Back
Top