Solved

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

Posted on 2011-03-07
6
731 Views
Last Modified: 2012-05-11
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
0
Comment
Question by:jxbma
6 Comments
 
LVL 100

Accepted Solution

by:
mlmcc earned 500 total points
ID: 35066025
THis should help.  It shows how to pass a dataset to a report.

http://www.emoreau.com/Entries/Articles/2006/09/Feeding-Crystal-Reports-from-your-application.aspx

mlmcc
0
 
LVL 11

Expert Comment

by:SAMIR BHOGAYTA
ID: 35066176
Hi, you have to download first SAP Crystal report for Vs2010. After installing it then after you have to use the crystal report.
0
 
LVL 11

Expert Comment

by:SAMIR BHOGAYTA
ID: 35066185
Hi, from the following link you have to download it.
0
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
LVL 1

Expert Comment

by:lalitgada
ID: 35067263
by default use crystal report wizard.
by using this you get the idea to start using of crystal report.
0
 
LVL 16

Expert Comment

by:Kalpesh Chhatrala
ID: 35068103
Please Check following thread for Step by Step Crystal Report in .Net

http://www.crystalreportsbook.com/Crystal_Reports_Net_Ch01_1.asp
0
 
LVL 1

Author Closing Comment

by:jxbma
ID: 35091508
Right on the money.

Thanks!
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
which object should i use (efficiency) 5 47
Export import database 4 44
C# HTTP GET method sample code 3 42
How useful is the free version of Selenium? 3 16
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
We all know that functional code is the leg that any good program stands on when it comes right down to it, however, if your program lacks a good user interface your product may not have the appeal needed to keep your customers happy. This issue can…
Hi friends,  in this video  I'll show you how new windows 10 user can learn the using of windows 10. Thank you.
Learn how to create flexible layouts using relative units in CSS.  New relative units added in CSS3 include vw(viewports width), vh(viewports height), vmin(minimum of viewports height and width), and vmax (maximum of viewports height and width).

863 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now