Пример #1
0
        /// <summary>
        /// Function to Add Dataset
        /// </summary>
        /// <returns></returns>
        public DataSet GetDataSet()
        {
            DataSet dsCashflow = new DataSet();

            try
            {
                FinancialStatementSP spFinancial  = new FinancialStatementSP();
                DataTable            dtblCashflow = GetDataTable();
                DataTable            dtblCompany  = new DataTable();
                dtblCompany = spFinancial.CashflowReportPrintCompany(1);
                dsCashflow.Tables.Add(dtblCashflow);
                dsCashflow.Tables.Add(dtblCompany);
            }
            catch (Exception ex)
            {
                formMDI.infoError.ErrorString = "CF4:" + ex.Message;
            }
            return(dsCashflow);
        }
Пример #2
0
        /// <summary>
        /// Function to Add Dataset
        /// </summary>
        /// <returns></returns>
        public DataSet GetDataSet()
        {
            DataSet dsCashflow = new DataSet();

            try
            {
                FinancialStatementSP spFinancial  = new FinancialStatementSP();
                DataTable            dtblCashflow = GetDataTable();
                DataTable            dtblCompany  = new DataTable();
                dtblCompany = spFinancial.CashflowReportPrintCompany(1);
                dsCashflow.Tables.Add(dtblCashflow);
                dsCashflow.Tables.Add(dtblCompany);
            }
            catch (Exception ex)
            {
                MessageBox.Show("CF:04" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
            }
            return(dsCashflow);
        }
Пример #3
0
 /// <summary>
 /// Function to Add Dataset 
 /// </summary>
 /// <returns></returns>
 public DataSet GetDataSet()
 {
     DataSet dsCashflow = new DataSet();
     try
     {
         FinancialStatementSP spFinancial = new FinancialStatementSP();
         DataTable dtblCashflow = GetDataTable();
         DataTable dtblCompany = new DataTable();
         dtblCompany = spFinancial.CashflowReportPrintCompany(1);
         dsCashflow.Tables.Add(dtblCashflow);
         dsCashflow.Tables.Add(dtblCompany);
     }
     catch (Exception ex)
     {
         MessageBox.Show("CF:04" + ex.Message, "OpenMiracle", MessageBoxButtons.OK, MessageBoxIcon.Information);
     }
     return dsCashflow;
 }