摘要:今天遇到如题的问题,搞了好久在网上看了很多的解决方案,但是都没有解决最后代码搞成这样还成功的1 string strConn = @"Provider = Microsoft.Ace.OLEDB.12.0; Data Source = " + filePath + "; Extended Properties = 'Excel 12.0;HDR = NO; IMEX=1'";代码已经测试,绝对是正确的
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 6 namespace Dtsc.WorkFlow 7 { 8 public class StringHelper 9 {10 /**/11 /// <summary>12 /// 转半角的函数(DBC case)13 /// </summary>14 /// <param name="input">任意字...
阅读全文
摘要:1 using System; 2 using System.Collections.Generic; 3 using System.Linq; 4 using System.Text; 5 using System.Runtime.Serialization.Json; 6 using System.IO; 7 8 namespace Dtsc.WorkFlow 9 {10 public class JsonHelper11 {12 public static object GetObjectListByJsonText(Type t,string jso...
阅读全文
摘要:快递查询接口http://webservice.36wu.com/ExpressService.asmxip查询接口http://webservice.36wu.com/ipService.asmx天气预报接口http://webservice.36wu.com/weatherService.asmx身份证查询接口http://webservice.36wu.com/IdCardService.asmx手机归属地接口http://webservice.36wu.com/MobilePhoneService.asmx翻译接口http://webservice.36wu.com/Translati
阅读全文