2015年8月29日
摘要: Linq的Where操作包括3种形式:简单形式、关系条件形式、First()形式。1.简单形式:例:使用where查询在北京的客户var q =from c in db.Customerswhere c.City == "beijing"select c;再如:筛选1994 年或之后雇用的雇员:va... 阅读全文
posted @ 2015-08-29 16:38 软件开发学习分享 阅读(439) 评论(0) 推荐(0) 编辑
摘要: /// /// 获取当前应用网址 /// /// public static String GetCurApplicationUrl() { String url = HttpContext.Current.Request.Url.IsDefaultPort ? HttpContext.Cur... 阅读全文
posted @ 2015-08-29 15:20 软件开发学习分享 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1、DateTime t1 = Convert.ToDateTime("2006-1-6"); DateTime t2 = Convert.ToDateTime("2006-1-16"); int day=Math.Abs(((TimeSpan)(t1 - t2)).Days); 2、dated... 阅读全文
posted @ 2015-08-29 14:56 软件开发学习分享 阅读(1311) 评论(0) 推荐(0) 编辑
摘要: DateTimed1;DateTimed2;//自己去赋值吧intdays=(d1-d2).Days;//天数差label1.Text="2012-1-115:36:05";label2.Text="2012-2-120:16:35";DateTimed1=newDateTime(2012,1,1,... 阅读全文
posted @ 2015-08-29 14:54 软件开发学习分享 阅读(1520) 评论(0) 推荐(0) 编辑
摘要: DateTime dtLast = new DateTime(Convert.ToInt32(LastMenses.Year), Convert.ToInt32(LastMenses.Month), Convert.ToInt32(LastMenses.Day)); DateTime dtThis ... 阅读全文
posted @ 2015-08-29 14:53 软件开发学习分享 阅读(4164) 评论(0) 推荐(0) 编辑
摘要: 天使投资成为了中国股权投资产业链最具投资价值的环节然而,个人投资者由于缺乏相关经验和人脉,往往很难投进回报最高的天使基金中,只能望洋兴叹。 阅读全文
posted @ 2015-08-29 09:39 软件开发学习分享 阅读(170) 评论(0) 推荐(0) 编辑