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.
C#

Avatar of undefined
Last Comment
RickJ
Avatar of RickJ
RickJ

ASKER

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

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Avatar of RickJ
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.
Avatar of Raynard7
Raynard7

please see

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

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

ASKER

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

C# is an object-oriented programming language created in conjunction with Microsoft’s .NET framework. Compilation is usually done into the Microsoft Intermediate Language (MSIL), which is then JIT-compiled to native code (and cached) during execution in the Common Language Runtime (CLR).

98K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo