In this sample I use an entity modle from my FamilyTree database.
AhouraEntities model = new AhouraEntities();
people = model.Person;
var panahy = from person in people
grdPeople.DataSource = people;
lstPanahy.DataSource = panahy;
Obviously you could instanciate the model using the constructor that expects a connectionString.