By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,693 Members | 1,565 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,693 IT Pros & Developers. It's quick & easy.

Sharing A DataSet

P: n/a
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?
Nov 20 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Hello,

"Daryll SHatz" <ds****@cox.net> schrieb:
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....ms.databinding

--
Herfried K. Wagner
MVP VB Classic, VB.NET
http://www.mvps.org/dotnet
Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.