rdoc.Load(Server.MapPath("~//Reports/CR_ProfitReceipt.rpt"));//sub_profit.rpt CR_ProfitReceipt rdoc.SetDataSource(dt.Tables[0]); CrystalReportViewer1.ReportSource = rdoc; Session["Report"] = rdoc; //DtDatasource = rdoc; CrystalReportViewer1.DataBind();
if (!IsPostBack) {
CrystalReportViewer1.ReportSource = Session["Report"]; }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)