Hi,

I've created a class in C# with a DataSet data member declared like this:

     private DataSet dstMaster;

I have a method that builds it by concatenating three datasets together
like this:

   dstMaster = dstOrg.Copy();
   dstMaster.Merge( dstContact );
   dstMaster.Merge( dstFunding );

In a SEPARATE method, I try to access the contents of the dataset but it
is empty!

If I declare the dataset as static, I don't have this problem.  I don't
understand why this is necessary.

If someone could explain this to me it would be appreciated.

Thank you,

Karen Healey

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.

Reply via email to