请个位老大帮忙解决一下!谢谢了!
文件:edit.asp<html>
<head>
</head>
<body>
<%
name=request.querystring("name")
response.write "您要修改的姓名为:" &name
response.write "<br>"
%>
<form action="edit1.asp?name=<%=name%>" method="post">
<p>name:<input type="text" name="empname" size="20"></p>
<p>sex:<input type="text" name="sex" size="4"></p>
<center><input type="submit" name="send" value="send"></center>
</form>
</body>
</html>
文件:edit1.asp
<!--#include file="Conndb.asp"-->
<%
name=request.querystring("name")
set rs = server.createobject("adodb.recordset")
sql ="select * from employees where empname=" &name
rs.open sql,conn,1,3
rs("empname")=request.querystring("empname")
rs("sex")=request.querystring("sex")
rs.update
%>
错误是:
错误类型:
Microsoft OLE DB Provider for SQL Server (0x80004005)