private void AddOrderForm_Load(object sender, EventArgs e) { dataGridView1.DataSource = ProductBLL.GetProducts(); comboBox1.DataSource = ShipperBLL.GetShippers(); comboBox1.DisplayMember = "CompanyName"; comboBox1.ValueMember = "ShipperID"; }
private void FormShippers_Load(object sender, EventArgs e) { dataGridView1.DataSource = ShipperBLL.GetShippers(); }