Esempio n. 1
0
        public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crIPORequestToBlockIPOAmount rpt = new crIPORequestToBlockIPOAmount();

            rpt.Site = this.Site;
            return(rpt);
        }
Esempio n. 2
0
        private void btnShowReport_Click(object sender, EventArgs e)
        {
            if (int.TryParse(Convert.ToString(cmbSession.SelectedValue), out tryparse))
            {
                sessionID = tryparse;
            }
            dt = bal.GetIPORequestToBlockIPOAmount(sessionID);
            crIPORequestToBlockIPOAmount cr = new crIPORequestToBlockIPOAmount();
            frmReportViewer view            = new frmReportViewer();

            cr.SetDataSource(dt);
            view.crvReportViewer.ReportSource = cr;
            view.Show();
        }