Am coding on visual studio 2012 and using Entity Model as my Data layer. However, my drop down control with the Linq statement tend to thro
Or if you want to avoid writing a LINQ expression you could just do this:
var dbContext = new EF.CustomerEntities(); gvCustomers.DataSource = dbContext.CustomersTable.ToList();