fileup.htm <html> <head><title>千花飞舞之上传单个文件</title></head><body> <formenctype="multipart/form-data"method="post"action="fileup.asp"> 输入想要上传的文件:<inputtype="file"name="f1"><inputtype="submit"value="开始上传">&...
http://www.jb51.net//article/4729.htm
<html><scriptlanguage="VB"runat="server"> SubUploadBtn_Click(SenderasObject,EasEventArgs) UploadFile.PostedFile.SaveAs(Server.MapPath("chunfeng.jpg")) MyImage.ImageUrl="chunfeng.jpg"&...
http://www.jb51.net//article/4728.htm
<html><head><title>随风起舞之文件查询</title></head><body><palign="center"> <b><fontface="宋体"color="red"size="5"> 星河影动之文件查询系统</font></b></p><hr><formmethod="POST"action="search.asp"> <p><fontcolor="gre...
http://www.jb51.net//article/4726.htm
<%OptionExplicitSubCheckXlDriver() OnErrorResumeNext DimvConnString DimoConn,oErr vConnString="DRIVER={MicrosoftExcelDriver(*.xls)};DBQ=NUL:" '连接NUL. SetoConn=CreateObject("ADODB.Connection...
http://www.jb51.net//article/4718.htm
<%@Language=VBScript%><% functionbianli(path) setfso=server.CreateObject("scripting.filesystemobject") onerrorresumenext setobjFolder=fso.GetFolder(path) &nbs...
http://www.jb51.net//article/4716.htm
creatdoc.asp<!DOCTYPEhtmlPUBLIC"-//W3C/Dtdhtml3.2Final//EN"><head><title>星河影动之创建Word文件</title><METAHTTP-EQUIV="Refresh"CONTENT="30;URL='orderForm.asp'"></head><% dotLocation="'servernamedirectory heTemplate.dot'" intRowCount=Req...
http://www.jb51.net//article/4715.htm
Write(StrING) WriteLine(StrING) WriteBlankLines(LINES) 〈html〉 〈head〉 〈http-equiv="Content-Type"content="text/html; charset=gb2312"〉 〈title〉春风精彩之文本文件显示〈/title〉 〈/head〉 〈body〉 <%LANGUAGE=VBScript%> <%ConstForReading=1,ForWriting=2,ForAppending=3'参数为可选,决定输入/输出模式:①F...
http://www.jb51.net//article/4713.htm
diminput(30)'定义一个数组,大小可随时更改.这里为了显示方便.file_path=Server.Mappath("index.html")Setfs=Server.CreateObject("Scripting.FileSystemObject")Setfile_open=fs.OpenTextFile(file_path)n=0DoWhileNotfile_open.AtEndOfStreamn=n+1fileline=file_open.readlineinput(i)=fileline'将文件内容读入input数组.Loopfile_open.closeSetfs=Nothi...
http://www.jb51.net//article/4711.htm
如何处理超时事件?1、IIS为一个死循的执行过程设定执行时间(缺省为90秒)超时事件:<%response.buffer=true%><body><html><%DO counter=counter+1 response.writecounter&"<br>" response.flushLOOP%></body></html>2、自定义时间。用程序设定超时事件的时间段:<%response.buffer=trueserver.scripttimeout=20%>...
http://www.jb51.net//article/4665.htm
