Last post Jun 01, 2013 07:43 AM by mr41971
Jun 01, 2013 07:14 AM|mr41971|LINK
the error occurs on the following: "cs.ClassID = (ClID)".
CLID is declared as an int32 and ClassID is declared as int32 in the database. Please help.
var query = (from sa in this.ObjectContext.StudentAttendances
join cs in this.ObjectContext.ClassStudents
on sa.StudentID equals cs.StudentID
join tc in this.ObjectContext.TeacherClasses
on cs.ClassID equals tc.ClassID
where cs.ClassID = (ClID)
Jun 01, 2013 07:26 AM|dhol.gaurav|LINK
Change your query as below
where cs.ClassID == (ClID)
let me know if any query
Jun 01, 2013 07:43 AM|mr41971|LINK
Forgot that. been working for 18 hrs straight.