摘要:
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... 阅读全文
摘要:
1.代码案例: protected void btnExportExcel_Click(object sender, EventArgs e) { SetSearchValue(); Dictionary titles = new Dictionary(); titles.Add("ProductName", "产品名称"); titles.Add("DanOrShuang", "单机/双机"); titles.Add("SN1", "SN1"); ... 阅读全文