摘要:
GridView导出函数内容如下 string attachment = "attachment; filename=Contacts.xls"; Response.ClearContent(); Response.AddHeader("content-disposition", attachment); Response.ContentType = "application/ms-excel"; StringWriter sw = new StringWriter(); HtmlTextWriter htw = new HtmlTe 阅读全文
posted @ 2013-11-27 21:49
萧雨
阅读(247)
评论(0)
推荐(0)