摘要: public static void HttpDown(string fileName, System.Web.UI.Page p_Page,string floder) { string path = fileName; //输出到客户端 FileInfo file = new FileInfo(path); p_Page.Response.Clear(); p_Page.Response.Charset = "GB2312"; p_Page.R... 阅读全文
posted @ 2014-03-06 11:25 aiaito 阅读(298) 评论(0) 推荐(0) 编辑
摘要: 1.代码案例: protected void btnExportExcel_Click(object sender, EventArgs e) { SetSearchValue(); Dictionary titles = new Dictionary(); titles.Add("ProductName", "产品名称"); titles.Add("DanOrShuang", "单机/双机"); titles.Add("SN1", "SN1"); ... 阅读全文
posted @ 2014-03-06 11:16 aiaito 阅读(200) 评论(0) 推荐(0) 编辑