- 博客(3)
- 收藏
- 关注
转载 ASP.net 写入日志到文本文件
using System; using System.Collections.Generic; using System.Web; using System.IO; using System.Text; /// <summary> /// Summary description for NetLog /// </summary> public class NetLog
2017-10-13 15:30:38
3382
转载 ASP.net 导出Excel表方法汇总
1、由dataset生成public void CreateExcel(DataSet ds,string typeid,string FileName) { HttpResponse resp; resp = Page.Response; resp.ContentEncoding = System.Text.Encoding.GetEncoding("GB2312");
2017-10-12 18:45:34
217
转载 欢迎使用CSDN-markdown编辑器
ASP.net GridView导出Excel代码段public void ToExcel(System.Web.UI.Control ctl) { HttpContext.Current.Response.AppendHeader("Content-Disposition", "attachment;filename=Excel.xls"); HttpCon
2017-10-12 18:34:22
195
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人