Solved

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

Posted on 2011-03-07
6
736 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
6 Comments
 
LVL 101

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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Revamp Your Training Process

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

696 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