Question

Locked

Create a crystal report in a vb.net project.

By Locrian_Lyric ·
I've gotten as far as creating the report, got the database connection, no problem....

Set up the viewer, no problem...

The data in the report won't load.

What code do I have to drop in to get the dataset to load and display?

This conversation is currently closed to new comments.

4 total posts (Page 1 of 1)  
| Thread display: Collapse - | Expand +

All Answers

Collapse -

Create a crystal report in a vb.net project

by sangyang29 In reply to Create a crystal report i ...

Dim cryRpt As New ReportDocument
cryRpt.Load("CrystalReport1.rpt")
CrystalReportViewer1.ReportSource = cryRpt
CrystalReportViewer1.Refresh()

put tis code in button click. plz check u created the report in correct way. Check this link , its a detail help on creating crstal report.

http://vb.net-informations.com/crystal-report/vb.net_crystal_report_step_by_step.htm

Collapse -

Invalid path name on crystal report

by wanerm In reply to Create a crystal report i ...

can anyone guide in resolving this issue?

when i click on this method, i am getting invalid path name..

how to load this report?

thanks

Collapse -

Create a crystal report in a vb.net project

by Harsh Shah In reply to Create a crystal report i ...

you need to write the full path of the report.. e.g

--> cryRpt.Load("D:\\New Folder\CrystalReport1.rpt")

Back to Software Forum
4 total posts (Page 1 of 1)  

Related Discussions

Related Forums