Esempio n. 1
0
 /// <summary>
 /// Function to fill Voucher Type combobox
 /// </summary>
 public void VoucherTypeComboFill()
 {
     try
     {
         PurchaseReturnDetailsSP spPurchaseReturn = new PurchaseReturnDetailsSP();
         cmbVoucherType.DataSource    = spPurchaseReturn.VoucherTypeComboFillForPurchaseReturn();
         cmbVoucherType.ValueMember   = "voucherTypeId";
         cmbVoucherType.DisplayMember = "voucherTypeName";
     }
     catch (Exception ex)
     {
         MessageBox.Show("PRR:05" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }