Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

Creating an object in one class then accessing it in another

$
0
0

Hi Guys,

I have written a class that pulls information from a database and stores it in a DataSet. It also lets me insert and update records in that database. If I create an instance of this class in my main form, can I then access that object in a different form?

Thanks in advance.


Viewing all articles
Browse latest Browse all 31927

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>