Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/teste/processa.asp, line 24
O q tem no cód:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Response.Buffer = true
Response.CacheControl = "no-cache"
Response.AddHeader "Pragma", "no-cache"
Response.Expires = -1
%>
<!--#include file="../connection/db_connection.inc" -->
<%
dim strlogin
dim strsenha
dim strid
strid = request.QueryString("id")
if strid = "user" then
strlogin = Replace(Request.Form("login"), "'", "''")
strsenha = Replace(Request.Form("senha"), "'", "''")
if (len(strlogin) <> 0) or (len(strsenha) <> 0) then
sql = "SELECT * FROM user WHERE login LIKE '%"&cstr(strlogin)&"%' AND senha LIKE '%"&cstr(strsenha)&"%'"
set recset = Server.CreateObject("ADODB.Recordset")
recset.ActiveConnection = db_login
Eu já tirei o cstr da string sql e não funcionou. O q eu faço?
Question
Nabvchodhonozohr
Olá. Alguém pode me ajudar?
Apareceu esse erro:
ADODB.Recordset error '800a0bb9'
Arguments are of the wrong type, are out of acceptable range, or are in conflict with one another.
/teste/processa.asp, line 24
O q tem no cód:
Eu já tirei o cstr da string sql e não funcionou. O q eu faço?
Link to comment
Share on other sites
6 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.