摘要:
public class FileUpload : IHttpHandler { public void ProcessRequest (HttpContext context) { context.Response.ContentType = "text/plain"; HttpPostedFile f=context.Request.Files[0];//接收浏览器端传递过来的文件。 string filePath = "Files"; if (f.ContentLength > 0)//判断文件的大小 { string fileName= S 阅读全文
posted @ 2012-08-16 16:47
Cn.Ruyi
阅读(289)
评论(0)
推荐(0)

浙公网安备 33010602011771号