Click here to Skip to main content
15,888,211 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
please help mi
how to use report view 9.0.0.0.0 studio 2008 at studio 2012 11.0.0.0.0
<rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana"
Font-Size="8pt" Height="400px" Width="732px">
<localreport reportpath="Report1.rdlc">
<datasources>
<rsweb:reportdatasource datasourceid="ObjectDataSource1" xmlns:rsweb="#unknown">
Name="WellDataSet_well_book_data" />

Posted

1 solution

C#
try
 {
     ReportDocument report = new ReportDocument();
     report.Load(reportName);
     report.SetDataSource(dt);
     CrystalReportViewer1.ReportSource = report;
     CrystalReportViewer1.RefreshReport();
     Session["CR_Session"] = report;
 }
 catch (Exception ex)
 {
     throw;            }
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900