当前位置:编程学习 > C#/ASP.NET >>

ODBC 驱动程序不支持所需的属性

set rst=server.CreateObject("adodb.recordset")
 if request.querystring("act")="login"then
    sq1="select * from umimy where u_user='" & request.Form("f_user") & "'"
    sq1=sq1 & " and u_code='" & request.Form("f_code") & "'"
    rst.open sq1,conn,1,1     第 32 行


错误类型:
Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
ODBC 驱动程序不支持所需的属性。
/fifasp/login.asp, 第 32 行

不知问题出在那里,如何解决? --------------------编程问答-------------------- sq1="select * from umimy where u_user='" & request.Form("f_user") & "'" 
    sq1=sq1 & " and u_code='" & request.Form("f_code") & "'" 

request.Form("f_user") 或者 request.Form("f_code") 为空
补充:.NET技术 ,  ASP.NET
CopyRight © 2012 站长网 编程知识问答 www.zzzyk.com All Rights Reserved
部份技术文章来自网络,