摘要:
public static void DataTableExcel(System.Data.DataTable dtData, String FileName) { System.Web.UI.WebControls.GridView dgExport = null; System.Web.HttpContext curContext = System.Web.HttpContext.Current; System.IO.StringWriter strWriter = null; System.Web.UI.HtmlTextWriter htmlWriter = null; if (dtD. 阅读全文