Results 1 to 10 of 10

Thread: Urgent C# Global Connection Problem

Hybrid View

  1. #1
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: Urgent C# Global Connection Problem

    The difference between creating an instance of your data layer object and assigning it to a static variable and creating a singleton class is that with a singleton class you cannot create more than one instance, whereas in the first scenario you could create more instances and assign them to other variables. The idea of a class with all static members is going back to what I was talking about in the first place. It is the equivalent of a VB.NET module.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

  2. #2
    New Member
    Join Date
    Jul 2005
    Posts
    12

    Thumbs up Re: Urgent C# Global Connection Problem

    Thank's a ton

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width