refer question:
http://answers.yahoo.com/question/index;_ylt=Av6u5FuCM7CndEg9wd7ulMnsy6IX?qid=20060721215041AAtYDQc
Dim conn = CreateObject("adodb.connection")
Dim rs = CreateObject("adodb.recordset")
Dim comm = CreateObject("adodb.command")
Dim strSql As String
strSql = "Select User Name, Password From AuthorizedInventoryStaff.mdb Where User Name='" & txtUserName.Text & "'and Password='" & txtPassword.Text & "'"
conn.connectionstring = ""
comm.CommandType()
conn.Open()
comm.commandtext = strSql
comm.connection = conn
rs = comm.execute
If Not rs.eof Or rs.eof Then
response.redirect("Welcome.vb")
Else
response.redirect("Login.vb")
End If
error message: Name 'response' is not declared.
i ma using access and visual studio .net 2003(windows application(VB))
2006-07-21
18:59:23
·
3 answers
·
asked by
braich_gal
3
in
Programming & Design