Hi
I am getting error on below code - Only arguments that can be evaluated on the client are supported for the String.Contains method.
LMSDBDataContext context = new LMSDBDataContext(); List<View_Recommendation> Result = (from t in context.View_Recommendations where (StudentCollection.Length > 0 ? StudentCollection.Contains(t.StudentID.ToString()) : 1 == 1) select t).ToList();
Thanks