Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Desperately seeking code sample...
Message
From
18/09/2002 13:04:50
 
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00701737
Message ID:
00701903
Views:
15
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
Previous
Reply
Map
View

Click here to load this message in the networking platform