摘要: public static void DaochuTalbe(string TableInnerHtml, string filename) { StringWriter sw = new StringWriter(); sw.WriteLine(TableInnerHtml); sw.Close(); System.Web.HttpContext.Current.Response.AddHeader("Content-Disposition", "attachment;filename=" + filename + ".xls"); System.Web.HttpContext.Current.Response.ContentType = "application/ms-excel"; System.Web.HttpContext.Current.Response.ContentEncoding = System 阅读全文
posted @ 2009-05-19 13:39 ∮随风而行∮ 阅读(945) 评论(1) 推荐(1) 编辑
摘要: 1.IIS-[网站]-属性-》连接超时。默认为120秒 2.WEB.CONFIG 手工添加httpRuntime,如 阅读全文
posted @ 2009-05-19 13:36 ∮随风而行∮ 阅读(185) 评论(0) 推荐(0) 编辑
摘要: 购物车类 using System; using System.Web.UI; using System.Collections; //使用Hashtable类必须引入该命名空间 namespace EWang.BLL 阅读全文
posted @ 2009-05-19 13:35 ∮随风而行∮ 阅读(225) 评论(0) 推荐(0) 编辑