Example #1
0
 private void Form1_Load(object sender, EventArgs e)
 {
     grEntity             = new GalacticRentalsEntities();
     comboBox1.DataSource = grEntity.Clients;
     Console.WriteLine(grEntity.Clients);
     comboBox1.DisplayMember = "name";
 }
Example #2
0
 private void Form1_Load(object sender, EventArgs e)
 {
     grEntity = new GalacticRentalsEntities();
     comboBox1.DataSource = grEntity.Clients;
     Console.WriteLine(grEntity.Clients);
     comboBox1.DisplayMember = "name";
 }