C#基类大全(源码) /// ///导出Excel文件,自动返回可下载的文件流 /// publicstaticvoidDataTable1Excel(System.Data.DataTabledtData) { GridViewgvExport=null; HttpContextcurContext=HttpContext.Current; StringWriterstrWriter=null; HtmlTextWri