SyntaxFix
Write A Post
Hire A Developer
Questions
No need to do so much works..
var query = from c in obj.tbCourses where ... select c;
Then you can use:
List<course> list_course= query.ToList<course>();
It works fine for me.