Hi
In below query i want data from current date to currentdate - 7 days in where Clause in LINQ.
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 SinghPosted Apr 4, 2022, 3:13 PM