摘要: http://hi.baidu.com/luchaoshuai/blog/item/9b1c13eed77818feb2fb95c3.html 对于一个Web应用程序来说,出错是在所难免的,因此我们应该未雨绸缪,为可能出现的错误提供恰当的处理。事实上,良好的错误处理机制正是衡量Web应用程序好坏的一... 阅读全文
posted @ 2008-05-22 11:13 winnerlan 阅读(228) 评论(0) 推荐(0) 编辑
摘要: http://hi.baidu.com/luchaoshuai/blog/item/01b5fb35563fcf8ea71e1232.html 将图片转换为HTML代码(DIV点阵),也就是将图片的每个象素点都用DIV来实现 protected void Button1_Click(object... 阅读全文
posted @ 2008-05-22 11:12 winnerlan 阅读(2202) 评论(0) 推荐(0) 编辑
摘要: Response.Filter属性:在数据发送出去前通过绑定的Filter来修改HTTP实体数据 应用场景(网站内容的GZIP压缩,多语言实现等等。。。) 定义:public Stream Filter{get;set;} 例如,实现网页压缩传输: string str = Request.Hea... 阅读全文
posted @ 2008-05-22 11:02 winnerlan 阅读(295) 评论(0) 推荐(0) 编辑
摘要: http://www.1task.cn/blog/article/60.aspx 文件名乱码问题 : http://www.1task.cn/blog/article/5.aspx using System; using System.IO; using System.Text; namespace... 阅读全文
posted @ 2008-05-22 11:01 winnerlan 阅读(259) 评论(0) 推荐(0) 编辑
摘要: http://www.cnblogs.com/fengfeng/archive/2008/02/19/1072505.html 我原来写的利用UrlRewrite,asp.net动态生成htm页面(补充说明2) ,生成静态页面时,使用下边的代码 Code Code hig... 阅读全文
posted @ 2008-05-22 11:00 winnerlan 阅读(307) 评论(0) 推荐(0) 编辑