Exemple #1
0
        private void AddOrderForm_Load(object sender, EventArgs e)
        {
            dataGridView1.DataSource = ProductBLL.GetProducts();

            comboBox1.DataSource    = ShipperBLL.GetShippers();
            comboBox1.DisplayMember = "CompanyName";
            comboBox1.ValueMember   = "ShipperID";
        }
Exemple #2
0
 private void FormShippers_Load(object sender, EventArgs e)
 {
     dataGridView1.DataSource = ShipperBLL.GetShippers();
 }