{
DataClasses1DataContext dc = new DataClasses1DataContext();
var q =
from a in dc.GetTable<Order>()
select a;
dataGridView1.DataSource = q;
}
Database interview questions and answers asked in various interviews, faqs,tutorial and articles..
var q =
from a in dc.GetTable<Order>()
select a;
dataGridView1.DataSource = q;
}