Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Crystal Reports First Project

$
0
0

Am new to Crystal Reports/Asp.Net and need some help getting started.

I have my Data on SQL Server, have created a DataSet.

Have also created a sample.rpt using data from my DataSet.

Am able to see my report and my data on "Main Report Preview"

Have created a SAMPLE.ASPX page and added the CrystalReportsViewer bound to sample.rpt andam able to see my report on the SAMPLE.ASPX form in Design mode.

When I try to run the program I get a blank sample.aspx form displayed in browser.

I did add CrystalReportViewer1.DataBind() in the codebehind page_load event.

Im stuck at this point - what am I missing?

Help is appreciated.

Lee

Here's my aspx form designer code..

<body><form id="form1" runat="server"><CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" 
            AutoDataBind="True" 
            Height="1202px" ReportSourceID="CrystalReportSource1" 
            ToolPanelWidth="200px" Width="1104px" /><br /><div><CR:CrystalReportSource ID="CrystalReportSource1" runat="server"><Report FileName="Sample.rpt"> </Report></CR:CrystalReportSource></div></form></body>


Viewing all articles
Browse latest Browse all 1507

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>