I am using the following code to select every course from my a table with a bunch of courses – how would I change the code to narrow down the selection from every course to every course with the field db.Courses.myField = true?
var courses = from s in db.Courses
select s;
It’s pretty simple …
Take a look at the data tutorials on asp.net.