10 2017 档案

摘要:NPOI导出xlsx格式文件,会出现如下情况: 导出代码如下: /// <summary> /// 将datatable数据写入excel并下载 /// </summary> /// <param name="dt">datatable </param> /// <param name="excel 阅读全文
posted @ 2017-10-25 15:43 一夜秋2014 阅读(12176) 评论(8) 推荐(1)
摘要:项目中出现“正在中止线程”问题,百度后台发现,都是因为用到Response.End、Response.Redirect 或 Server.Transfer 方法。 原因: Response.End 方法终止页的执行,并将此执行切换到应用程序的事件管线中的 Application_EndRequest 阅读全文
posted @ 2017-10-18 12:51 一夜秋2014 阅读(819) 评论(0) 推荐(0)
摘要:对象类: [XmlRoot("people")] public class People { public string name { get; set; } public string age { get; set; } } xml串: <people> <name>LiMing</name> < 阅读全文
posted @ 2017-10-12 21:44 一夜秋2014 阅读(624) 评论(0) 推荐(0)