2013年12月13日

带格式导出数据到Excel

摘要: 导出按钮事件 protected void Button1_Click(object sender, EventArgs e) { Response.Clear(); Response.Buffer = true; Response.Charset = "GB2312"; Response.AppendHeader("Content-Disposition", "attachment;filename=zjxx.xls"); Response.ContentEncoding = System.Text.Encoding.GetEnco 阅读全文

posted @ 2013-12-13 14:46 MisterS 阅读(3583) 评论(0) 推荐(0) 编辑

导航