Link to home
Start Free TrialLog in
Avatar of bobsegrest
bobsegrest

asked on

How do I copy a Typed Dataset to another project

Greetings,

I have a complex Typed Dataset that I created in a Visual Studio 2005 C# project.

I would like to copy this typed dataset to and use it in another project.

What is the best way to do this?

Bob
Avatar of SameerJagdale
SameerJagdale
Flag of United States of America image

when you create a typed dataset, it create 3-4 files. The only important file is .designer file which contains classes. You can add a new code file, name it to <dataset>.cs and copy the contents of .designer file to it. Now delete the original dataset (it deletes all the relevant files).
You can now use the code file as a dataset.

hope it helps.
ASKER CERTIFIED SOLUTION
Avatar of badbearontour
badbearontour

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of bobsegrest
bobsegrest

ASKER

The component I had missed was the change in name space.