Hi
I have value in textbox 7. What should be the linq query
From TO
2 4
5 7
8 10
Record 2 should be returned
var Result = (from t in context.Groups where t.FromAge >= Age && t.ToAge <= Age select t.ID).FirstOrDefault();
Thanks