Database connection

Results 1 to 2 of 2

Thread: Database connection

  1. #1
    Veronica Guest

    Default Database connection

    I am a newbie in programming. I have a logon screen that is supposed to connect to a SQL database.It will then verify the password and the username entered. How do I do that.I am using VB to develop this

  2. #2
    Join Date
    Dec 1969

    Default RE: Database connection

    pseudo code:<BR><BR>uname=request("username")<BR>pwd=requ est("Pwd")<BR>sql="select * from tblUsers where name=&#039;" & uname & "&#039; AND pwd=&#039;" &pwd <BR>&#039;make a connection & query database<BR>IF NOT rs.eof then<BR>&#039;do stuff<BR>else<BR>&#039;login not allowed<BR>end if

Posting Permissions

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