摘要: 代码Code highlighting produced by Actipro CodeHighlighter (freeware)http://www.CodeHighlighter.com/--System.IO.FileInfoDownloadFile=newSystem.IO.FileInfo(docName.ToString());//需要转换为绝对路径,否则会自动认到C盘系统里那个I... 阅读全文
posted @ 2009-11-30 16:59 王少 阅读(287) 评论(0) 推荐(0)
摘要: 服务器送给客户端的数据包类型可以是text/html文本,也可以是gif/jpeg图形文件,所以每次传输前,我们都必须告知客户端将要传输的文件类型,一般默认情况下为“Text/Html”类型。 <% Response.ContentType = "text/HTML" %> <% Response.ContentType = "image/GIF" %&g... 阅读全文
posted @ 2009-11-30 13:24 王少 阅读(447) 评论(0) 推荐(0)