随笔分类 - IO
摘要:Bad Request - Request Too Long HTTP Error 400. The size of the request headers is too long. 该错误原因导致 ,是该站点 Cookies 存储太多导致。 使用浏览器 清除该站点所有Cookies 可解决此问题。
阅读全文
摘要:ImageBrush b = new ImageBrush(); b.ImageSource = new BitmapImage(new Uri("../../Content/dropShadow.jpg",UriKind.Relative)); b.St...
阅读全文
摘要:Office对应ContentType当从浏览器返回一个文件时,需要指定ContentType,以下是Office2007对应的值:"application/vnd.openxmlformats-officedocument.wordprocessingml.template" (for .dotx...
阅读全文
摘要:string folder = HttpContext.Server.MapPath(文件名); if (!Directory.Exists(folder)) { Directory.CreateDirectory(folde...
阅读全文
浙公网安备 33010602011771号