Sharing A DataSet

  • Thread starter Thread starter Daryll SHatz
  • Start date Start date
D

Daryll SHatz

Is there a way to share a datase across multiple forms in a project? I have
created a DataSet, using the Wizards, and bound several controls on my main
form. All works well. Now I would like to use the DataSet data with
controls on several Dialog forms in the same project. Is the a way to
make/create a "global" DataSet for all objects in the same project?
 
Hello,

Daryll SHatz said:
Is there a way to share a datase across multiple forms in
a project? I have created a DataSet, using the Wizards, and
bound several controls on my main form. All works well.
Now I would like to use the DataSet data with controls
on several Dialog forms in the same project. Is the a way to
make/create a "global" DataSet for all objects in the same project?

DataSets created by the wizard are declared as 'Friend' by default. You can
access them from other classes in your application. I think you will more
likely get an answer in this ng:

news://news.microsoft.com/microsoft.public.dotnet.framework.windowsforms.databinding
 
Back
Top