In a C# 2010 application, I am trying to use the following linq to
sql statment. However I am getting an error message on the select statement listed below.
eDataContext eData = new eRPTDataContext();
var eRPTRVWRun = eData.Client_Schedules.Where(c => c.Review_month == selMonth && c.Review_year == selYear).Select(c => c.Review_id).FirstOrDefault();
Thus can you tell me what I can change so that select statement in the linq to sql builds clean?
Loading
VulpesPosted Jan 27, 2013, 5:15 AM
What is the precise error you're getting?
dcPosted Jan 27, 2013, 9:51 PM