Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Desperately seeking code sample...
Message
De
18/09/2002 13:04:50
 
 
À
18/09/2002 10:22:43
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00701737
Message ID:
00701903
Vues:
16
Kevin,

Good start ... I just wanna add that if you make both the DataSet and your GetData() methods static, then once you get the info into the DataSets (at login time), you never have to worry about instantiating your AppVars class again ... the static stuff will be available everywhere.

~~Bonnie


>Follow-up...I figured out 'part of this...'
>
>I created a class component with a private dataset...i called the class component APPVARS
>
>Within APPVARS, I created a SETDATA and GETDATA.
>
>I was able to instantiate APPVARS from multiple forms and was able to use SETDATA and GETDATA fine.
>
>I don't know if that's the 'proper' way to do it, but it worked fine in my test.
>
>Kevin
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform