2011年4月7日
摘要: void down(string filepath) { //确定文件的物理路径 string filePath = Server.MapPath(filepath); FileInfo Fi = new FileInfo(filePath); if (Fi.Exists) { FileStream fs = new FileStream(filePath, FileMode.Open); byte[] bytes = new byte[(int)fs.Length]; fs.Read(bytes, 0, bytes.Length); fs.Close(); Response.ContentT 阅读全文
posted @ 2011-04-07 15:45 锥子 阅读(349) 评论(0) 推荐(0) 编辑