Hi
I want if user has selected any value in Listbox then it should filter , else all values of ListBox
C#
public List GetOpen(Int32 ddl0)
{
List Result = (from t in context.Headers
where t.IsActive == true
select t).ToList();
return Result;
}Thanks

Sachin SinghRank #66 · 26.2K reputationPosted May 1, 2022, 8:07 AM EDT