📄 hear2.asp
字号:
<html
<head>
<title>无标题文档</title>
<style type="text/css">
<!--
body,td,th {
color: #FF6699;
}
a:link {
color: #FF0066;
}
-->
</style>
</head>
<body>
<%
dim id
id=request.querystring("id")
Dim db,rs,strSql
Set db=server.createobject("adodb.connection")
db.open "Dbq="&Server.Mappath("meirongDIY.mdb")&";Driver={Microsoft Access Driver (*.mdb)};"
strSql="Select * From meifa where id="&id&" "
Set rs=db.Execute(strSql)
%>
<%
Do While Not rs.Eof
%>
<table align="center">
<tr>
<td width="500" bgcolor="#FFCCFF">
<table border="0" align="center">
<tr>
<td bgcolor="#99FFCC"><%=rs("name")%> </td>
</tr>
<tr>
<td bgcolor="#FFFFFF"><%=rs("body")%> </td>
</tr>
</table>
<%
rs.MoveNext
Loop
%></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -