Exemplo n.º 1
0
        /// <summary>
        /// Function to Fill the grid
        /// </summary>
        public void GridFill()
        {
            try
            {
                FinancialYearSP spFinancialYear = new FinancialYearSP();
                DataTable       dtbl            = new DataTable();

                dtbl = spFinancialYear.FinancialYearViewAll();
                dgvChangeFinancialYear.DataSource = dtbl;
            }
            catch (Exception ex)
            {
                MessageBox.Show("CHGFINYR:1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Exemplo n.º 2
0
        /// <summary>
        /// Function to Fill the grid
        /// </summary>
        public void GridFill()
        {
            try
            {
                FinancialYearSP spFinancialYear = new FinancialYearSP();
                DataTable dtbl = new DataTable();

                dtbl = spFinancialYear.FinancialYearViewAll();
                dgvChangeFinancialYear.DataSource = dtbl;
            }
            catch (Exception ex)
            {
                MessageBox.Show("CHGFINYR:1" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
        }
Exemplo n.º 3
0
        /// <summary>
        /// Function to Fill the grid
        /// </summary>
        public void GridFill()
        {
            try
            {
                FinancialYearSP spFinancialYear = new FinancialYearSP();
                DataTable       dtbl            = new DataTable();

                dtbl = spFinancialYear.FinancialYearViewAll();
                dgvChangeFinancialYear.DataSource = dtbl;
            }
            catch (Exception ex)
            {
                formMDI.infoError.ErrorString = "CHGFINYR:1" + ex.Message;
            }
        }