public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport()
        {
            crIPOUnblockAndTransferLetter rpt = new crIPOUnblockAndTransferLetter();

            rpt.Site = this.Site;
            return(rpt);
        }
Example #2
0
        private void BtnUnblock_Click(object sender, EventArgs e)
        {
            DataTable dt = new DataTable();
            crIPOUnblockAndTransferLetter crUnblock = new crIPOUnblockAndTransferLetter();
            frmReportViewer view = new frmReportViewer();

            dt = R_Bal.GetIPOUnblockAndTransferLetter(Convert.ToInt32(cmbsessionName.SelectedValue));
            crUnblock.SetDataSource(dt);
            view.crvReportViewer.ReportSource = crUnblock;
            view.Show();
        }