09 2012 档案
摘要:An alternative deserialisation approach is suggestedhere. I modified the code slightly to fix a bug and suit my coding style. All you need is this:View Code 1usingSystem;2usingSystem.Collections;3usingSystem.Collections.Generic;4usingSystem.Collections.ObjectModel;5usingSystem.Dynamic;6usingSystem.L
阅读全文
摘要:using System; using System.Collections.Generic; using System.ComponentModel; using System.Drawing; using System.Drawing.Design; using System.Windows.Forms; /// <summary> /// DataGridView行合并.请对属性MergeColumnNames 赋值既可 /// </summary> public partial class RowMergeView : Da...
阅读全文
摘要:下载地址: http://npoi.codeplex.com/ 参考资料: http://www.cnblogs.com/wangrsh2010/archive/2012/03/21/2410182.html 下载地址: http://npoi.codeplex.com/ 参考资料: http://
阅读全文
摘要:前言:前面的几篇文章简单的介绍了如何使用OpenXML创建Excel文档。由于在平时的工作中需要经常使用到Excel的读写操作,简单的介绍下使用OpenXML读取Excel中得数据。当然使用OpenXML将数据读取成什么格式并不重要,本文仅仅介绍如何读取到DataTable中。 准备工作: 1. E
阅读全文