导航

2005年8月1日

摘要: 第一种,将DataGrid作为参数传入,将DataGrid转成Excel public bool ToExcel(System.Web.UI.Control ctl) { try { HttpContext.Current.Response.AppendHeader("Content-Disposition","attachment;filename=Excel.xls"); ... 阅读全文

posted @ 2005-08-01 10:05 xujh 阅读(2442) 评论(0) 推荐(0) 编辑