2017年12月21日
摘要: using System; using System.Collections.Generic; using System.Linq; using System.Runtime.Remoting.Messaging; using System.Text; using System.Threading; using System.Threading.Tasks; namespace Console... 阅读全文
posted @ 2017-12-21 17:26 梦想总是这么遥远 阅读(1525) 评论(0) 推荐(0) 编辑
  2017年12月16日
摘要: 根据自己项目需求编写,仅供参考 个人建议:使用Excel模板进行导出操作。尽量避免自己生成Excel(既繁琐又容易出BUG)。大多情况下导出Excel都是固定格式,使用模板导出会方便很多。 阅读全文
posted @ 2017-12-16 14:23 梦想总是这么遥远 阅读(916) 评论(0) 推荐(1) 编辑
  2017年12月13日
摘要: NPOI 官网下载DLL:http://npoi.codeplex.com/releases 1、读取Excel转为DataTable 阅读全文
posted @ 2017-12-13 15:55 梦想总是这么遥远 阅读(1118) 评论(0) 推荐(0) 编辑
  2017年12月12日
摘要: 各种类型命名规范总结 类型 命名规则 注意事项 实例 类或结构 Pascal 首字符大写 HttpContext 接口 Pascal 加前缀I IDataAdaper 枚举名 Pascal 首字符大写 CommandType 枚举值 Pascal 首字符大写 CommandType.Text 事件 阅读全文
posted @ 2017-12-12 14:51 梦想总是这么遥远 阅读(590) 评论(1) 推荐(1) 编辑
摘要: public class WebServiceHelper { /// /// Soap协议Post方法 /// /// WebService地址 /// 传入Soap协议格式数据 /// public static string SendToReturn(Uri _ur... 阅读全文
posted @ 2017-12-12 14:26 梦想总是这么遥远 阅读(2561) 评论(1) 推荐(0) 编辑