07 2008 档案
开发过程中积累的小技巧(不断更新中。。)
摘要:1,在发布网站时,asp.net总会默认的给请求网页添加一个 "X-AspNet-Version:版本号"的Header,有时感觉很不爽,就像把这个header去掉,哈哈,其实很简单,只需要在当前网站的web.config文件中的中添加 Code highlighting produced by Actipro CodeHighlighter (freeware)http://w... 阅读全文
posted @ 2008-07-22 16:12 Benny_NET 阅读(164) 评论(0) 推荐(0)
[转]Breaking Changes for ASP.NET 2.0 applications running in Integrated mode on IIS 7.0
摘要:这几天搞IIS7,发现这篇文章不错,特此记录一下。 ASP.NET 2.0 applications on IIS 7.0 are hosted using the ASP.NET Integrated mode by default. This new mode enables a myriad of exciting scenarios including using super-valuable ASP.NET features like Forms Authentication for your entire Web site, and developing new ASP.NET modules to do things like URL rewriting, authorization, logging, and more at the IIS level. For more information about the ASP.NET Integration in IIS 7.0, see: ASP.NET Integration with IIS7. 阅读全文
posted @ 2008-07-22 15:39 Benny_NET 阅读(766) 评论(0) 推荐(0)
Asp.net 导出EXCEL电子表格 工具类
摘要:由于项目需要,自己写了一个根据一个数据集方便导出EXCEL电子表格的工具类。简单记录以下。 用法如下: 1 ExcelWorkbook excel= new ExcelWorkbook(); 2 excel.FileName = "导出文件名称"; 3 4 Worksheet w= new Work... 阅读全文
posted @ 2008-07-13 14:05 Benny_NET 阅读(626) 评论(4) 推荐(0)