<%
id = request("id")
Set rs = Server.CreateObject("ADODB.RecordSet")
sql = "select * from news where id="&id
rs.Open sql, conn, 1, 3
If rs.EOF And rs.bof Then
Response.Write "<script language='javascript'>alert('无效参数值!');document.location.href('news.asp');</script>"
Else
%>