为什么不能向数据库添加数据,我刚学asp请大家帮帮忙,以下是我的代码???
<%set conn=server.CreateObject("adodb.connection")
conn.open "provider=microsoft.jet.oledb.4.0;data source="&server.MapPath("11.mdb")
set rs=server.CreateObject("adodb.recordset")
rs.open "select * from admin",conn,1,3
if submits<>"" then
title=request.form("title")
body=request.form("body")
set rs1=server.createobject("adodb.recordset")
rs1.open "select * from admin",conn,1,3
rs1("tilte")=title
rs1("body")=body
rs1.update
end if
%>
<%
if rs.eof then
response.Write("没有记录!")
else
do while not rs.eof
%>
<body>
<table width="342" height="94" align="center" border="1">
<tr>
<td width="91"><div align="right">id:</div></td>
<td width="241"><%=rs("id")%></td>
</tr>
<tr>
<td><div align="right">title:</div></td>
<td><%=rs("title")%></td>
</tr>
<tr>
<td><div align="right">body:</div></td>
<td><%=rs("body")%></td>
</tr>
<tr>
<td><div align="right">time:</div></td>
<td><%=rs("time")%></td>
</tr>
</table>
<p><br>
<%
rs.movenext
loop
end if
%>
</p>
<p>?</p>
<p><a href="2.asp">管理员:</a></p>
<form name="form4" method="post" action="">
<table width="261" height="148" border="1" align="center">
<tr>
<td><div align="right">title:</div></td>
<td>
<input name="title" type="text" id="title">
</td>
</tr>
<tr>
<td><div align="right">body:</div></td>
<td>
<textarea name="body" id="body"></textarea>
</td>
</tr>
<tr>
<td colspan="2"><div align="center">
<input name="Submits" type="submit" id="Submits" value="提交">
</div></td>
</tr>
</table>
</form>
<p>?</p>
<p>?</p>
<p>?</p>
</body>