GridView 导出Excel
摘要:
前台: 后台: protected void btnExcel_Click(object sender, EventArgs e) { DateTime dt = System.DateTime.Now; string str = dt.ToString("yyyyMMddhhmmss"); str = str + ".xls"; gvDepartmentInfo.Allow... 阅读全文
posted @ 2013-11-01 16:44 YoungPop_Chen 阅读(161) 评论(0) 推荐(0) 编辑