Link to home
Start Free TrialLog in
Avatar of RickJ
RickJ

asked on

Global dataset?

Hello, Firstly I am fairly new to C#. I am using VS 2005.
I am trying to figure out the best way to handle my data access. I am writing a Windows Mobile app but the logic should be pretty much the same as any other.
I see that you can add Data Sources to a solution using the Data Sources tab.
This essentialy gives you a dataset containg the selected table/s.
It would seem to make sense to me that I could access this dataset from any form in my application instead of creating a new one each time.
Can I do this?
Should I do this?
How do I do it?

Thanks for your help.
Avatar of RickJ
RickJ

ASKER

Sorry about the points. Its all i have left.
ASKER CERTIFIED SOLUTION
Avatar of Raynard7
Raynard7

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RickJ

ASKER

Hello, Thanks for the quick reply.
Are you able to give me a quick explanation/example/link about "Public Static Classes"

Thanks again.
please see

http://msdn2.microsoft.com/en-us/library/79b3xss3.aspx

which outlines the pros and cons of using them.
Avatar of RickJ

ASKER

Thanks for the help Raynard7. My understanding is now better.