📄 openfile01.asp
字号:
<!--#include file="ConnectDB.asp" -->
<%
If Not Request("pId")="" Then
Set rs=Server.CreateObject("ADODB.recordset")
sql="select pid,ContentType,Data from FileLibrary where pID='" & trim(request("pId")) &"'"
rs.open sql,conn,1,1
If Not (Rs.Eof And Rs.Eof) Then
Response.ContentType = Rs("ContentType")
Response.BinaryWrite rs("Data")
End If
rs.close
set rs=nothing
set conn=nothing
End If
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -