Link to home
Start Free TrialLog in
Avatar of jxbma
jxbmaFlag for United States of America

asked on

How do I design and display .Net Crystal reports using VS 2010?

Hi:

I'm very much a newbie to designing/implementing Crystal reports into the .Net applications.
I'm building a winForm application in which I want to embed some Crystal reports.

I think I more or less understand how to display an existing report in a Crystal Report Viewer
object that's embedded into a win form.
I've done some work with SSRS, so I have some familiarity with reporting.

If I was tied to a backend SQL or ORACLE db, then I think this would be pretty straight forward.
The issue is that is not the case.

We're using a proprietary backend DB. So, using it as connected DB source is not an option.
At runtime, I've basically got a .Net DataTable (Columns, Rows) loaded with data which I want
to display in my Crystal report. I've seen several examples on how to assign the datasource
to a crystal report @ runtime.

The piece I don't understand is... "How do I design my Crystal Report?"
If I was connected to the datasource, then I would see fields availabe from table, view, stored procedure.
But that's not the case here.

How do I define the field set to be used when designing the report?
Is there some sort of custom schema definition that I need to create
(matched against the runtime DataTable columns)?

Is there anything special in terms of databinding that I have to do when I generate/load the report?

Is what I'm trying to do straight forward?
Can you point me to some appropriate tutorials?

Thanks,
JohnB
ASKER CERTIFIED SOLUTION
Avatar of Mike McCracken
Mike McCracken

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi, you have to download first SAP Crystal report for Vs2010. After installing it then after you have to use the crystal report.
Hi, from the following link you have to download it.
by default use crystal report wizard.
by using this you get the idea to start using of crystal report.
Please Check following thread for Step by Step Crystal Report in .Net

http://www.crystalreportsbook.com/Crystal_Reports_Net_Ch01_1.asp
Avatar of jxbma

ASKER

Right on the money.

Thanks!