Interview Question in Visual Studio 2003


 

Interview Question :: Modified..but still got problem

refer question:
http://answers.yahoo.com/question/index;...

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))

by ksk