Exemple #1
0
 private void DisplayProductSupplier()
 {
     productSuppliers = Products_SuppliersDB.GetProductSupplier();
     if (productSuppliers != null) // if we have product suppliers to display
     {
         lstView.Items.Clear();    //start with empty list box
         foreach (Products_Suppliers prodsup in productSuppliers)
         {
             lstView.Items.Add(prodsup);
         }
     }
 }