CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 1999
    Location
    USA
    Posts
    101

    How can I get DSN less connections?

    I am using ADO's to connect to Access database. I assume in that case, it runs without DSN at the client site.

    Thanks


  2. #2
    Join Date
    May 1999
    Posts
    3,332

    Re: How can I get DSN less connections?

    to use a dsnless connection to SQLserver use code like this:
    conn.Open "Driver={SQL Server};Server=yourservernamegoeshere;UID=...;pwd=...;database=yourdatabase"


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

Featured