public void DisplayReport(CurrentPaymentsReport report)
 {
     this.DateViewedLiteral.Text = report.DateViewed.ToDateTimeString();
     Master.ShowReportViewer();
     reportData.Visible = true;
     AllClientsReportHelpMessage.Visible = false;
     ReportPanel.Display(report);
 }
Ejemplo n.º 2
0
        public void Display(CurrentPaymentsReport report)
        {
            ViewState.Add("CurrentPaymentsReport", report);

            if (report != null)
            {
                ReportGridView.DataSource = report.Records;
                ReportGridView.DataBind();

                FundedTotalLiteral.Text    = report.FundedTotal.ToString("C");
                NonFundedTotalLiteral.Text = report.NonFundedTotal.ToString("C");
            }
        }