📄 view.asp
字号:
<%option explicit%>
<%
Response.Expires = -1
Response.AddHeader "Pragma","no-cache"
Response.AddHeader "Cache-Control","no-cache,must-revalidate"
%>
<!--#include virtual="include/DataEnvi.asp"-->
<%
Dim ObjDB,StrSQL,ObjRS
Set ObjDB = Server.CreateObject("Adodb.Connection")
OpenDB ObjDB
StrSQL = "Select * From t_OA_Attach Where KeyPath = '" & Request.QueryString("ID") & "'"
Set ObJRS = ObjDB.Execute(StrSQL)
If Not ObjRS.Eof Then
Response.Redirect Application("RootPath") & "OA/Attach/Files/" & ObjRS("BasePath") & "/" & ObjRS("KeyPath") & "/" & ObjRS("FileName")
End If
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -