public void DisplayReport(CurrentPaymentsReport report) { this.DateViewedLiteral.Text = report.DateViewed.ToDateTimeString(); Master.ShowReportViewer(); reportData.Visible = true; AllClientsReportHelpMessage.Visible = false; ReportPanel.Display(report); }
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"); } }