摘要:
把dataset 输出到 excelpublic void CreatExcel(System.Web.UI.WebControls.GridView ctl,DataSet ds,string filename) { ctl.DataSource = ds.Tables[0]; ctl.DataBind(); HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment;filename="+filename); ... 阅读全文
posted @ 2013-09-25 14:36
blueker_li
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号