Beispiel #1
0
 /// <summary>
 /// Function to fill Pricinglevel combo box
 /// </summary>
 public void PricingLevelComboFill()
 {
     try
     {
         AccountLedgerSP spAccountLedger = new AccountLedgerSP();
         DataTable dtbl = new DataTable();
         dtbl = spAccountLedger.cmbPricingLevelInCustomer();
         cmbPricingLevel.DataSource = dtbl;
         cmbPricingLevel.ValueMember = "pricinglevelId";
         cmbPricingLevel.DisplayMember = "pricinglevelName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("Cus3:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }