detail.asp

来自「像数据库(SQL2000)中存取图像数据」· ASP 代码 · 共 36 行

ASP
36
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312" />
<title>无标题文档</title>
</head>
<body>
<%
QID=Request.Querystring("ID")
If QID<>""Then
   set rs=server.createobject("ADODB.recordset")
   sql="select * from img Where ID="&QID 
   rs.open sql,Conn,1,3
Else 
   Response.Write("<script language='javascript'>window.close();<script>")
End If
%>
<table width="775" height="476" border="0">
  <tr>
    <td><center>
		  <img src="show.asp?id=<%=rs("id")%>&tbName=img" width="300" height="300" border="1",height="133">
		  </a>
		  </center>
		  </td>
  </tr>
  <tr>
    <td>
		  <img src="?id=<%=rs("id")%>&tbName=img" width="150" height="150" border="0",height="133">
		  </a>
	</td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?