摘要:
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 阅读全文
摘要:
1.IIS-[网站]-属性-》连接超时。默认为120秒
2.WEB.CONFIG 手工添加httpRuntime,如
阅读全文
摘要:
购物车类
using System;
using System.Web.UI;
using System.Collections; //使用Hashtable类必须引入该命名空间
namespace EWang.BLL
阅读全文