MavrickStl
Programmer
This is a part of my code of ASP login script:
myname=request.form("Userid"
sqltemp="select * from tblsecurity WHERE Userid= '"
sqltemp=sqltemp & myname & "'"
I am using SQL server database:
UserID Text
Password Text
I am getting this ASP error when I run the script:
The text, ntext, and image data types cannot be used in the WHERE, HAVING, or ON clause, except with the LIKE or IS NULL predicates.
Guys,
I need to know why Ii can not select userid as text and compare it with the form input. Please help....
thanks, A
myname=request.form("Userid"
sqltemp="select * from tblsecurity WHERE Userid= '"
sqltemp=sqltemp & myname & "'"
I am using SQL server database:
UserID Text
Password Text
I am getting this ASP error when I run the script:
The text, ntext, and image data types cannot be used in the WHERE, HAVING, or ON clause, except with the LIKE or IS NULL predicates.
Guys,
I need to know why Ii can not select userid as text and compare it with the form input. Please help....
thanks, A