/// <summary> /// Function to fill Datagridview /// </summary> public void vouchertypecombofill() { try { spSalesReturnMaster.VoucherTypeComboFillOfSalesReturnReport(cmpvoucherType, "Sales Return", true); } catch (Exception ex) { formMDI.infoError.ErrorString = "SRREG3:" + ex.Message; } }
/// <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); } }
/// <summary> /// Function to fill VoucherType combobox /// </summary> /// <param name="cmbVoucherType"></param> public void VoucherTypeComboFill(ComboBox cmbVoucherType) { try { spSalesReturnMaster.VoucherTypeComboFillOfSalesReturnReport(cmbVoucherType, "Sales Return", true); } catch (Exception ex) { formMDI.infoError.ErrorString = "SRRprt4:" + ex.Message; } }