2014年6月10日
摘要: use [IBatisNet]GOif not exists (select * from master.dbo.syslogins where loginname = N'IBatisNet')BEGIN CREATE LOGIN [IBatisNet] WITH PASSWORD = 'IBa... 阅读全文
posted @ 2014-06-10 16:54 fery 阅读(330) 评论(0) 推荐(0) 编辑
  2014年6月9日
该文被密码保护。 阅读全文
posted @ 2014-06-09 11:45 fery 阅读(5) 评论(0) 推荐(0) 编辑
  2014年5月2日
摘要: WinForm 实现主程序(exe)与其关联类库(*.dll)分开存放开发环境:Microsoft Windows 7 SP1Microsoft.NET Framework 4.0 (x64)1. 首先,App.config:2. 其次, 重新生成->然后在eXe同一目录下创建文件夹(lib: 必须... 阅读全文
posted @ 2014-05-02 13:15 fery 阅读(588) 评论(0) 推荐(0) 编辑
  2013年12月25日
摘要: /// /// Converts a SOAP string to an object /// /// Object type /// SOAP string /// The object of the specified type public static T SOAPToObject(string SOAP) { if (string.IsNullOrEmpty(SOAP)) { throw new ArgumentException("SOAP can not be null/empty"); } using (MemoryStream Stream = new M 阅读全文
posted @ 2013-12-25 15:49 fery 阅读(309) 评论(0) 推荐(0) 编辑
  2013年11月5日
摘要: listObj.Skip((pagecount-1)*pagesize).Take(pagesize)假设你每页10条数据当前是第3页 跳到第4页则:listObj.Skip((4-1)*10).Take(10) 阅读全文
posted @ 2013-11-05 16:48 fery 阅读(133) 评论(0) 推荐(0) 编辑
  2013年10月14日
该文被密码保护。 阅读全文
posted @ 2013-10-14 16:20 fery 阅读(1) 评论(1) 推荐(0) 编辑
  2013年10月12日
该文被密码保护。 阅读全文
posted @ 2013-10-12 16:30 fery 阅读(1) 评论(0) 推荐(0) 编辑
  2013年8月19日
摘要: private static DateTime ConvertJavaMiliSecondToDateTime(long javaMS) { DateTime UTCBaseTime = new DateTime(1970, 1, 1, 0, 0, 0, DateTimeKind.Utc); DateTime dt = UTCBaseTime.Add(new TimeSpan(javaMS * TimeSpan.TicksPerMillisecond)).ToLocalTime(); return dt; } 阅读全文
posted @ 2013-08-19 16:33 fery 阅读(403) 评论(0) 推荐(0) 编辑
  2013年8月13日
摘要: 目前只支持”万“以下的转换。private static string GetNumber4Chinese(string str) { string istr = "0"; string cstr = string.Empty; string nstr = string.Empty; for (int i = 0; i < str.Length; i++) { cstr = str.Substring(i, 1); nstr = (i < str.Length - 1) ? str.Substring(i + 1, 1) : "个"; swi 阅读全文
posted @ 2013-08-13 14:04 fery 阅读(701) 评论(0) 推荐(0) 编辑
  2013年8月2日
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2013-08-02 23:04 fery 阅读(3) 评论(0) 推荐(0) 编辑