public virtual CrystalDecisions.CrystalReports.Engine.ReportDocument CreateReport() { crIPOUnblockAndTransferLetter rpt = new crIPOUnblockAndTransferLetter(); rpt.Site = this.Site; return(rpt); }
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(); }