/// <summary> /// grid fill function /// </summary> public void GridFill() { try { SuffixPrefixSP spSuffixPrefix = new SuffixPrefixSP(); DataTable dtbl = new DataTable(); dtbl = spSuffixPrefix.VoucherTypeSearchInSuffixPrefix(cmbVoucherTypeSearch.Text); dgvSuffixPrefixSettings.DataSource = dtbl; } catch (Exception ex) { formMDI.infoError.ErrorString = "SPS3" + ex.Message; } }
/// <summary> /// grid fill function /// </summary> public void GridFill() { try { SuffixPrefixSP spSuffixPrefix = new SuffixPrefixSP(); DataTable dtbl = new DataTable(); dtbl = spSuffixPrefix.VoucherTypeSearchInSuffixPrefix(cmbVoucherTypeSearch.Text); dgvSuffixPrefixSettings.DataSource = dtbl; } catch (Exception ex) { MessageBox.Show("SPS3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }
/// <summary> /// grid fill function /// </summary> public void GridFill() { try { SuffixPrefixSP spSuffixPrefix = new SuffixPrefixSP(); DataTable dtbl = new DataTable(); dtbl = spSuffixPrefix.VoucherTypeSearchInSuffixPrefix(cmbVoucherTypeSearch.Text); dgvSuffixPrefixSettings.DataSource = dtbl; } catch (Exception ex) { MessageBox.Show("SPS3" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information); } }