Hi
In below query i want data from current date to currentdate - 7 days in where Clause in LINQ.
C#
LDataContext context = new LDataContext();
public List GetLog()
{
List Result = (from t in context.View_Logs
orderby t.EntryDate descending
select t).ToList();
return Result;
}Thanks


Sachin SinghRank #66 · 26.2K reputationPosted Apr 4, 2022, 11:13 AM EDT