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
    Australia
    Posts
    39

    Sql server login

    Hi,
    How do i check to see if the login and password match in an sql server. The database is an sql database.There is no table called database table where the user names and logins are usually stored. So there are no user names and logins.What code would i write?? Please help.
    Thanks alot,
    PS: We are all connected to the network and we all have logins and passwords


  2. #2
    Guest

    Re: Sql server login

    try to trap the error message when trying to connect to SQL server from the VB.
    If no error then continue with your logic. Other wise raise the exception and display error message and/or abort the program.

    Pl use On Error GoTO errorhandle



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