将repeater、datalist、gridview中的数据导出到Excel中的简单方法
Response.ContentType = "application/vnd.ms-excel"; Response.Charset = "";this.EnableViewState = false; System.IO.StringWriter tw = new System.IO.StringWriter(); System.Web.UI.HtmlTextWriter hw = new S
原创
2006-05-19 17:53:00 ·
2040 阅读 ·
5 评论