C# WinForms Objects

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



Hello all,

I have a WinForms app that has a number of forms. When I login, I
create 3 objects, lets call them A, B & C.When I create them, I
connect to a database, return a load of data and set the members.

I need to 'Save' these objects somewhere as I need to reference their
members in number of the above mentioned forms, but I don't want to
create them again, as it's another hit on the database.

In ASP.NET, I'd keep them on a session, how would I do this in
WinForms?

Thanks,

JY
.



Relevant Pages

  • Re: System Administrator Implied Permissions
    ... > sa login, it assigns it the System Administrator fixed ... > Now, given this, why does SQL Server ... in each database is always a member of the public and db_owner roles. ... Other sysadmin role members have the exact same ...
    (microsoft.public.sqlserver.security)
  • Access problem using computer domain account
    ... All of these systems are members of a domain that I'll call DOMAIN. ... MySvr2 has a service running under the local system account. ... We've created a database login for SecGroup on all four servers. ...
    (microsoft.public.sqlserver.security)
  • Re: Login succeeded followed by Logon Failed
    ... to individual user accounts, then Accounts\Joe may be in several groups. ... then he _may_ fail to attach to his default database. ... the login account default database will have priority over any ... members of a domain group are unable to login. ...
    (microsoft.public.sqlserver.security)