Click here to Skip to main content
15,077,137 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I'm trying to build a report using Crystal Report in Visual studio 2012.
I created a report using report wizard and I'm loading the report in an page at page load but the page is blank nothing is being displyed.

Here is my calling:

Dim cryRpt As New ReportDocument
            CrystalReportViewer1.ReportSource = cryRpt

What i am missing?

1 solution

Hello ,
You have not set the SetDataSource property in your ReportDocument.
First load the Data from Database and set it to ReportDocument.
Refer : Generate a Report using Crystal Reports
TheWebDeveloper 30-May-14 8:52am
but i;m not using dataset, Im following below article:
Animesh Datta 30-May-14 8:58am
the above example will get the all data from your Table (inside database) and show it in crystal report . check the table is blank or not.
TheWebDeveloper 31-May-14 3:29am
Not it is not blank it contain data
Animesh Datta 31-May-14 11:57am
your following article is perfect, no problem is there , please compare your code with that code , i think there must be something missing. try to debug the code and find the issue .

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