摘要:
public class PrinExcel{ public PrinExcel() { // //TODO: 在此处添加构造函数逻辑 // } public static void ToExcel(System.Web.UI.Control ctl, string strFileName) { HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment;filename=" + strFileName + ".xls"); HttpCont 阅读全文