Hello,
I'm just looking to perform a LINQ query to return a group of course ID's and Course Titles which are running next year. As part of this I need to perform an OR query as I'm also looking to return data relating to next year as well which is held as a string in my databse and is the only issue I'm having, so any help would be appreciated.
var result = (
from a in Offering
join b in Courseinfo on a.CourseID equals b.CourseID
into temp
from c in temp
where c.Year == "10/11" || "11/12"
select new { c.CourseID, c.CourseTitle }).DefaultIfEmpty();