1、由dataset生成

asp.net 导出excel汇总public void CreateExcel(DataSet ds,string typeid,string FileName) 
  }

2、由datagrid生成

asp.net 导出excel汇总public void ToExcel(System.Web.UI.Control ctl)  


3、这个用dataview

asp.net 导出excel汇总public void OutputExcel(DataView dv,string str)

相关文章: