2012年8月23日

oracle 数的构建

摘要: select lpad(' ',4*(level-1))||t.EQU_NAME AS EQU_NAME , t.PARENT_ID, t.equ_id from T_EQU_INFO_TEST t start with t.equ_id IN (SELECT equ_id FROM T_EQU_INFO_TEST WHERE parent_ID IS NULL AND ORGAN_ID= '200511171119415510' ) connect by prior EQU_ID=P... 阅读全文

posted @ 2012-08-23 13:49 蔡成 阅读(106) 评论(0) 推荐(0) 编辑

2012年8月9日

windows服务的调试

摘要: 1 using System; 2 using System.Collections.Generic; 3 using System.ServiceProcess; 4 using System.Text; 5 6 namespace WSFileTransfer 7 { 8 static class Program 9 {10 /// <summary>11 /// 应用程序的主入口点。12 /// </summary>13 static void Main()14 {15 ... 阅读全文

posted @ 2012-08-09 17:36 蔡成 阅读(207) 评论(0) 推荐(0) 编辑

2012年7月30日

c#连接excel2007未安装ISAM解决

摘要: 今天遇到如题的问题,搞了好久在网上看了很多的解决方案,但是都没有解决最后代码搞成这样还成功的1 string strConn = @"Provider = Microsoft.Ace.OLEDB.12.0; Data Source = " + filePath + "; Extended Properties = 'Excel 12.0;HDR = NO; IMEX=1'";代码已经测试,绝对是正确的 阅读全文

posted @ 2012-07-30 15:54 蔡成 阅读(373) 评论(0) 推荐(0) 编辑

2012年7月27日

转半角的函数

摘要: 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">任意字... 阅读全文

posted @ 2012-07-27 11:23 蔡成 阅读(131) 评论(0) 推荐(0) 编辑

json序列化和发序列化

摘要: 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... 阅读全文

posted @ 2012-07-27 11:14 蔡成 阅读(175) 评论(0) 推荐(0) 编辑

常使用的webserver地址

摘要: 快递查询接口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 阅读全文

posted @ 2012-07-27 10:36 蔡成 阅读(696) 评论(1) 推荐(2) 编辑

导航