I have a DataContext (db) that can access the tables in my SQL Express database, from which I would like to extract only three of the multiple fields in the tbl
DataContext
You will have to use an anomynous object for this:
var items = db.tblItems.Select(i => new { ID = i.id, Name = i.name, TotalAmount = i.totalAmount });
You can iterate over items like over any other collection:
items
foreach(var item in items) { //do stuff }