ODBC 驱动程序不支持所需的属性(又出新问题了)
出现以下错误,大虾帮忙解答下.,.谢谢,数据库建的都是对的Microsoft OLE DB Provider for ODBC Drivers (0x80040E21)
ODBC 驱动程序不支持所需的属性。
/login.asp, 第 17 行
程序代码:
<% dim Conn,SQL,RS Set Conn=Server.CreateObject("ADODB.Connection") Conn.ConnectionString = "Dbq="&Server.MapPath("update.mdb")&"; Driver={Microsoft Access Driver (*.mdb)}" Conn.Open Set RS=Server.CreateObject("ADODB.Recordset") SQL="select * from user where username='"&username&"' and password='"&password&"'" RS.Open SQL,Conn,1,1 success=RS.RecordCount response.write("success="&success) RS.Close Set RS=nothing Conn.Close Set Conn=nothing %>
[[italic] 本帖最后由 梦自在 于 2007-12-4 19:31 编辑 [/italic]]