name=request.Form("loginname")
pwd=request.Form("pwd")
set rsc=server.CreateObject("adodb.recordset")
sqlc="Select * from admin where name='"&name&"' and pwd='"&pwd&"'"
rsc.Open sqlc,conn,1,3
If rsc.bof And rsc.eof Then
response.write("无信息!")
Else
response.write"帐号为:"&rsc("name")
End If
%>
总是显示:Error Type:
Microsoft OLE DB Provider for ODBC Drivers (0x80004005)
[Microsoft][ODBC SQL Server Driver][DBNETLIB]SQL Server does not exist or access denied.
/htm/html/db/a.asp, line 3
这是怎么回事啊?
[ 此贴被醉雪枫叶在2007-07-10 08:37重新编辑 ]作者: hailar 时间: 2009-12-4 06:05
沙发...................