摘要: SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED SELECT [Spid] = session_id , ecid , [Database] = DB_NAME(sp.dbid) , [User] = nt_username , [S... 阅读全文
posted @ 2016-12-05 11:22 ThirteenYi 阅读(617) 评论(0) 推荐(0) 编辑
摘要: declare @inputStartDate datetime = '2017-02-01', @inputEndDate datetime = '2017-04-20'endDate>=@inputStartDate and BeginDate<=@inputEndDate 阅读全文
posted @ 2016-11-16 15:50 ThirteenYi 阅读(3124) 评论(1) 推荐(0) 编辑
摘要: IOS 打包上线 All object files and libraries for bitcode must be generated from...xcode7项目上线的时候, Archive不过, 报错:xxx does not contain bitcode. You must rebui 阅读全文
posted @ 2016-08-24 12:14 ThirteenYi 阅读(2028) 评论(0) 推荐(0) 编辑
摘要: /// /// 获取根据枚举名称获取枚举描述 /// /// 枚举类型 /// 枚举名称 /// public static string GetEnumDescription(string enumName){ string result = string.... 阅读全文
posted @ 2016-05-06 14:30 ThirteenYi 阅读(4204) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2015-01-28 15:01 ThirteenYi 阅读(1) 评论(0) 推荐(0) 编辑
该文被密码保护。 阅读全文
posted @ 2014-03-14 11:18 ThirteenYi 阅读(3) 评论(0) 推荐(0) 编辑
摘要: XMLWebService虽然它让我们开发分布式软件,但是它有一个天生的毛病:就是XMLWebService与和层之间,以级他们相互之间传递信息是依靠HTTP协议进行,所以会比较缓慢,针对这种情况,我们该如何处理。答:增大XMLWebService中WebMethod方法的粒度,也就是便每个WebMethod方法尽量的多做一些事情,从而减少XMLWebService中WebMethod方法的数量,也就减少了依靠HTTP协议传递信息的次数,加快了速度。谈一谈你对Remoting的技术认识答:NET的Remoting采用代理技术,这个代理技术是由编译器自动完成的,NET的Remoting为我们的R 阅读全文
posted @ 2013-06-20 16:43 ThirteenYi 阅读(178) 评论(0) 推荐(0) 编辑
摘要: #region Linq 找出小于3的数 int[] a = {1,2,3,4,5,6}; var x = from n in a where n<3 select n; foreach (var i in x) { Console.WriteLine(i); } #endregion 阅读全文
posted @ 2013-06-20 15:58 ThirteenYi 阅读(146) 评论(0) 推荐(0) 编辑
摘要: public static int day(int sum, int n, int d) { int test = n * (n - 1) / 2; int test2 = (sum - test) % n; if (test2 == 0) { return (sum - test) / n; } else { return day(sum - d - 1, n - 1... 阅读全文
posted @ 2013-06-20 15:57 ThirteenYi 阅读(503) 评论(0) 推荐(0) 编辑
摘要: //方法一 int money = 20; int pingzi = 0; int total = 0; while (money > 0 || pingzi > 1) { total++; if (money > 0) { money--; pingzi++; } ... 阅读全文
posted @ 2013-06-20 15:56 ThirteenYi 阅读(513) 评论(0) 推荐(0) 编辑