Code/Resource
Windows Develop
Linux-Unix program
Internet-Socket-Network
Web Server
Browser Client
Ftp Server
Ftp Client
Browser Plugins
Proxy Server
Email Server
Email Client
WEB Mail
Firewall-Security
Telnet Server
Telnet Client
ICQ-IM-Chat
Search Engine
Sniffer Package capture
Remote Control
xml-soap-webservice
P2P
WEB(ASP,PHP,...)
TCP/IP Stack
SNMP
Grid Computing
SilverLight
DNS
Cluster Service
Network Security
Communication-Mobile
Game Program
Editor
Multimedia program
Graph program
Compiler program
Compress-Decompress algrithms
Crypt_Decrypt algrithms
Mathimatics-Numerical algorithms
MultiLanguage
Disk/Storage
Java Develop
assembly language
Applications
Other systems
Database system
Embeded-SCM Develop
FlashMX/Flex
source in ebook
Delphi VCL
OS Develop
MiddleWare
MPI
MacOS develop
LabView
ELanguage
Software/Tools
E-Books
Artical/Document
download.asp
Package: 08.zip [view]
Upload User: ynjin1970
Upload Date: 2014-10-13
Package Size: 6438k
Code Size: 2k
Category:
MiddleWare
Development Platform:
Visual C++
- <!--#include file="Adovbs.inc" -->
- <html>
- <head>
- <meta http-equiv="Content-Language" content="zh-cn">
- <meta http-equiv="Content-Type" content="text/html; charset=gb2312">
- <meta name="GENERATOR" content="Microsoft FrontPage 4.0">
- <meta name="ProgId" content="FrontPage.Editor.Document">
- <title>数据浏览</title>
- </head>
- <body>
- <p align="center"><b><font face="宋体" size="6">数据浏览</font></b></p>
- <table border="1">
- <tr>
- <td width="231" align="center">标题</td>
- <td width="165" align="center">姓名</td>
- <td width="182" align="center">文件名</td>
- <td width="114" align="center">日期</td>
- <td width="39" align="center">下载</td>
- <td width="41" align="center">删除</td>
- </tr>
- <%
- DbPath = SERVER.MapPath("oa.mdb")
- Set conn = Server.CreateObject("ADODB.Connection")
- conn.open "driver={Microsoft Access Driver (*.mdb)};dbq=" & DbPath
- Set comm = Server.CreateObject("ADODB.Command")
- comm.activeconnection=conn
- delidx=trim(request("delidx"))
- if delidx="" then
- delidx="0"
- end if
- comm.commandtext="delete from upload where idx="&delidx
- comm.commandtype=adcmdtext
- comm.execute
- set comm=nothing
- Set rs = Server.CreateObject("ADODB.Recordset")
- rs.Open "upload",conn,adOpenDynamic,adLockOptimistic
- while not rs.eof
- %> <tr>
- <td width="231" align="center"><%=rs("f_topic")%></td>
- <td width="165" align="center"><%=rs("xm")%> </td>
- <td width="182" align="center"><%=rs("f_name")%></td>
- <td width="114" align="center"><%=rs("f_date")%> </td>
- <td width="39" align="center"><a href="downloads.asp?idx=<%=rs("idx")%>">下载</a></td>
- <td width="41" align="center"><a href="download.asp?delidx=<%=rs("idx")%>">删除</a></td>
- </tr>
- <%
- rs.movenext
- wend
- rs.close
- conn.close
- set rs=nothing
- set conn=nothing
- %>
- </table>
- <p align="center"><a href="index.htm">返回</a></p>
- </body>
- </html>