大家看看我的代码错在那里了!
set conn=server.CreateObject("adodb.connection")DBPath = Server.MapPath("gaosu.mdb")
conn.open "provider=microsoft.jet.oledb.4.0; data source="&DBpath
id=request("id")
set rs=server.CreateObject("adodb.recordset")
sql="select * from news where id="&id
rs.open sql,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" c>
<title>新建网页 1</title>
</head>
<body>
<table border="0" width="100%">
<tr>
<td bgcolor="#6666FF"><%=rs("bt")%></td>
</tr>
<tr>
<td bgcolor="#FF0000"><%=rs("nr")%></td>
</tr>
</table>
</body>
</html>