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