コード例 #1
0
 private void btnAddProdToPkg_Click(object sender, EventArgs e)
 {
     PackageDB.AddProductToPackage(Convert.ToInt32(cbPack.SelectedValue), Convert.ToInt32(cbProduct.SelectedValue));
     lblAddProdPkg.Text = "Product has been added to the selected package";
     products_SuppliersDataGridView.DataSource = Products_SuppliersDB.GetProductsSuppliers();
 }