#12002/1/24 15:05:37
<%
strp="DBQ="+server.mappath("txhbbs.mdb")+";DefaultDir=;DRIVER={Microsoft Access Driver (*.mdb)};"
Set dbLink=Server.CreateObject("ADODB.Connection")
dbLink.mode=3
dbLink.Open strp
Set rs=Server.CreateObject ("ADODB.Recordset")
rs.locktype=3
rs.cursortype=0
rs.open "SELECT * FROM news WHERE id="&id,dbLink
if rs.eof then wrong response.write ("")
rs("title")=request.form("title")
rs("content")=request.form("content")
rs.Update
rs.close
dbLink.close
%>
为什么不能更新