摘要: DateTime beginDate;DateTime endDate;//对beginDate、endDate赋值...//读取数据库资料,假设数据库栏位名为:dateXvar q=from t in db.tableX where [b]t.dateX>=beginDate.Date && t.dateX<=beginDate.Date.AddDays(1)[/b]var query = from m in DBContext.T_Oyego_Experience where m.Date.CompareTo(Enddate) >= 0 && 阅读全文
posted @ 2012-07-03 16:41 骑牛射雕 阅读(2053) 评论(0) 推荐(0) 编辑