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,
 
Back
Top