这样的ASP代码有错吗?请各位大虾指点!!!急!!!
<!--#include file="conn.asp"--><%
dim rs,sql,id,title,content
id=cint(request.querystring("id"))
set rs=server.CreateObject("adodb.recordset")
sql="select * from nd_msg where id="&id
rs.open sql,conn,1,3
if not(rs.eof and rs.bof) then
title=rs("nd_title")
content=rs("nd_content")
response.write title
response.write content
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<%end if%>
<a href="weiduyoujian.asp">返回</a>
[[it] 本帖最后由 wxm198427 于 2008-9-5 14:32 编辑 [/it]]