Example #1
0
        /// <summary>
        /// Function to fill Datagridview
        /// </summary>

        public void vouchertypecombofill()
        {
            try
            {
                spSalesReturnMaster.VoucherTypeComboFillOfSalesReturnReport(cmpvoucherType, "Sales Return", true);
            }
            catch (Exception ex)
            {
                MessageBox.Show("SRR0:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Example #2
0
 public void VoucherTypeComboFillOfSalesReturnReport(ComboBox cmbVoucherType, string strVoucherType, bool isAll)
 {
     try
     {
         spSalesReturnMaster.VoucherTypeComboFillOfSalesReturnReport(cmbVoucherType, strVoucherType, isAll);
     }
     catch (Exception ex)
     {
         MessageBox.Show("AG1:" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
 }