467,926 Members | 1,629 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,926 developers. It's quick & easy.

Sharing A DataSet

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
  • viewed: 2538
Share:
1 Reply
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.

Similar topics

1 post views Thread by Jay W NOjwalkerSPAM | last post: by
reply views Thread by Francis | last post: by
3 posts views Thread by Chris Thunell | last post: by
4 posts views Thread by Martin Ehrlich | last post: by
1 post views Thread by Leon_Amirreza | last post: by
4 posts views Thread by Rajko Bogdanovic - DX Squad | last post: by
3 posts views Thread by Charlie Brown | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.