摘要:
1. 读取xml文件方法 /// <summary> /// 将xml转为Datable /// </summary> public static DataTable XmlToDataTable(string xmlStr) { if (!string.IsNullOrEmpty(xmlStr)) 阅读全文
只有注册用户登录后才能阅读该文。 阅读全文
摘要:
1. 首先是创建一个ExcelHelper类,起初网上找的,基本上能实现读取功能,但总是会多一列空的,最后把if (cellValue!=null)换成if (!string.IsNullOrEmpty( cellValue)),解决问题,代码如下: using System; using Syst 阅读全文