- 论坛徽章:
- 0
|
本帖最后由 chinaaj 于 2013-03-08 10:52 编辑
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>ffff</title>
</head>
<body>
<%
rloupan=Request.Form("rloupan")
Dim conn,rs,dbpath
Set conn=Server.CreateObject("ADODB.Connection")
dbpath=Server.MapPath("datbas/datbas.mdb")
conn.Open "Driver={Microsoft Access Driver (*.mdb)};DBQ="&dbpath
Set rs=Server.CreateObject("ADODB.RecordSet")
sql="select * from rent where rloupan='"&rloupan&"' "
rs.Open sql,conn,1,3
%>
<table width="781" border="0" align="center">
<tr>
<td bgcolor="#FFFFFF"><img src="images/logo1.jpg" width="477" height="66" /></td>
</tr>
</table>
<table width="590" height="13%" border="2" align="center" cellpadding="0" cellspacing="0" bordercolor="#99FF66"
bgcolor="#FFFFFF" style="border-collapse:separate">
<tr>
<td width="140" bordercolor="#99ff66" bgcolor="#FFCC33"><div align="center">aaaa</div></td>
<td width="130" bordercolor="#99ff66" bgcolor="#FFCC33"><div align="center">bbbb</div></td>
<td width="149" bordercolor="#99ff66" bgcolor="#FFCC33"><div align="center">ccc</div></td>
<td width="153" bordercolor="#99ff66" bgcolor="#FFCC33"><div align="center">ddd</div></td>
</tr>
</table>
<table>
<%
if (not rs.bof) and (not rs.eof) then
rs.MoveFirst
while not rs.eof
Response.Write "<tr>"
Response.Write "<td >"
Response.Write rs("rloupan")
Response.Write "</td>"
Response.Write "<td >"
Response.Write rs("rlocation")
Response.Write "</td>"
Response.Write "<td >"
Response.Write rs("rprice")
Response.Write "</td>"
Response.Write "<td>"
Response.Write rs("rtype")
Response.Write "</td>"
Response.Write "</tr>"
rs.MoveNext
wend
end if
%>
</table>
</body>
</html> |
|