Dataset

  • Thread starter Thread starter Richard Grene
  • Start date Start date
R

Richard Grene

I create and Fill a dataset through code. How can I share this dataset with
other forms in my app, without doing another fill.

Thanks,
Richard
 
Hi Richard,

You need the DataSet held in an object that still exists. Two basic options:

a) You could make it a global object in the first place.
b) Otherwise, you'd need to expose it as a property of the form that creates
it and reference it from the other forms. (presuming the one that creates it
will continue to "live".

HTH,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top