Entities db = new Entities(); var dtstr = db.Shops.Select(d => d.ShopName).ToList(); dataGridView1.DataSource = dtstr.ToList(); dataGridView1.Refresh();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)