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

    SQL Server connect string

    When Class Wizard created a CRecordset derived class based on a table from SQL Server, it put the default connect string "ODBC;DSN=MQIS". Although this works, it is anoying to log in to SQL Server every time a table is open. How can I open a recordset specifying some default authentication for the SQL Server?


  2. #2
    Join Date
    Apr 1999
    Posts
    1

    Re: SQL Server connect string

    UID=username;PWD=password


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