Академический Документы
Профессиональный Документы
Культура Документы
Win
Introduction
Surprise
Gifts!!!
We have two IIS application 'Reports' and 'Reportserver' what do they
Congratula Can you explain Report definition language (RDL) file in reporting serv
tions!!!
How can we consume reports in ASP.NET?
Can you explain the difference between private and shared data sourc
What are the major differences between Crystal and SQL reporting se
Introduction
This FAQ will give you a quick start for two report giant's crystal and r
If you find this article useful or you think I need improvements please
I will definitely consider your suggestions for better improvements.
Top 5
Contribut
ors of the
Month
Dhan
anjay
Kum
ar
Amit
Mehr
a
Arun
a
URL way
This is the most basic way of accessing reports. We specify the URL a
display a report using the URL methodology. 1 à This is the IIS report
is the report name. 4 à This is the command to the reporting service o
If we want to get the report in PDF format we need to use the 'Forma
The above example is a sample of how to use the reporting web servi
use'GetReportParameters' method, if we want to display the report
discussed to keep the chapter simple and to the point. Please experim
Reportviewer control
ASP.NET 2.0 comes with crystal report viewer control. You can drag a
'ReportviewerControl' looks like and how we can set the properties to
Can you explain the difference between private and
Private data source is used by single report only while shared data so
want to change anything you need to change only on one data source
Data sources:- Crystal support more data sources while RS only sup
Exchange, NT, Xbase, JDBC, File system and Paradox. RS supports on
not exists in crystal reports.
Web server support: - Crystal can run on IIS 5/6, Apache, lotu
Featured Articles
Responses
Post Comment
You must Sign In To post reply
Read also another Resources from the sam
• CAS (Code access security) & .NET 4.0 Security model FAQ (W
Find More Articles on C#, ASP.Net, Vb.Net, SQL Server and mor
Advanced Search »
Login
Home » Crystal Reports » Crystal and Reporting Services Interview Questions - Part
1
Crystal and
Author Rank:
Reporting Total page views : 10301
Services Total downloads :
Remember
Interview
Me Questions -
Sign In Part 1
By Shivprasad April
Register 02, 2009
This Interview Questions
will give you a quick start
Forgot
for two report giant’s
Password
crystal and reporting
Forgot services.
Username
Why Register
Jump to
Technology
About Us
ASP.NET Hosting
Authors
Book Chapters
Book Reviews
C# Books
C# Consulting
C# Training
Downloads
Media Kit
News & Events
Newsletter
Prizes
Product Reviews
Resources
Tips
Tools
User Groups Figure 2 :- Report designer
Reports engine does the formatting and conversion part of crystal reports. It helps convert
Our other formats. Report viewers are controls which you can see on the visual studio tool box;
Network page or windows application to view reports made using crystal. Object models help us man
.NET Heaven time.
C# Corner What basic steps are needed to display a simple report in crystal?
DbTalks
To
Interview Corner understand this sample let display a simple report using crystal.
Longhorn Corner
Mindcracker
Step1:- Create a web application project.
VB.NET Heaven
Step2:- Add new item and select crystal report from the template. This adds a new RPT file
Step3 :- Double click on the RPT file click on Crystal reports a Field explorer as shown in fig
Figure 3:- Field explorer toolbar
Step 4 a Right click on "Database fields" on the field explorer a then click on database expe
ADO a Select Microsoft OLEDB provider for SQL Server ( this depends on what kind of data
Click finish and done.
Step5 a Right click on "Database fields" on the field explorer a then click on database exper
which you want to add to the report. Below figure "Table added in reports" shows the right
Figure 4 :- Table added in reports
Step 6 a Expand database fields a table ( in this case it is "FactCurrencyRate" table). Now y
Step 7 a We now need to display the report on the ASPX page. For that we need the â€Ë
the crystal reports section of the toolbar and drag the component on the ASPX page
Figure 6 : - "Crystalreportviewer" control
Step 8:- Now we need to go to code behind and specify the report source. That's it now com
in action.
Right click on the "RPT" file and click "Publish as web service" as shown in figure "Publish cr
Figure 8 : - Publish Crystal as web service
Some times we want to accept input parameter and the report works according to the para
go to parameter fields , right click , create parameter and you should be popped with a dial
name to the parameter , type and that's it you are in action.
Figure 10 :- Parameter fields
Second option is through coding. Below is a simple code snippet which shows how we can e
and call the "ExportToDisk" method specifying in which format you want to export.
Dim Report as New CrystalReport1
Report.ExportToDisk(CrystalDecisions.Shared.ExportFormatType.WordForWindow
How do we print to printer using crystal?
In print we have two ways by which we can print one is when you display the report using c
second is by code. Below is a simple code snippet which shows how we have created a obje
printer name , paper size and then called the "PrintToPrinter" method.
Report.PrintOptions.PrinterName = "MyPrinter"
Report.PrintOptions.PaperSize = CrystalDecisions.Shared.PaperSize.PaperA4
Report.PrintOptions.PaperOrientation = CrystalDecisions.Shared.PaperOrientation
Report.PrintToPrinter(1, True, 1, 3)
How do we generate cross tab reports?
When we go for creating a new report you can see the cross tab option.
Client: - These are the consumers of reporting services functionality. It can be the report m
and manager in more details further) or ASPX and windows application.
Reporting Web service: - Microsoft chose XML to expose the functionality of reporting ser
services. One of the most important gains for a web service is that it can be platform indep
Report server / manager: - Report server and manager forms the core engine of reportin
"Report processor" and the other is
"Scheduling and Delivery processor". Reporting processor is the main driver to deliver
process the report and send it to the end client. Figure "Report Processor" shows how the fl
us understand in more detail how the report processor works. Step 1 a Any client like ASPX
service for reports. Step 2 and 3 a Web service will forward the request to the report proce
server DB.Step 4 a Reporting services uses the security extensions to authenticate the e
queries the application database to get data. With data processing extension we can connec
Oracle etc. You can also extend the data processing extension to adapt it to some custom d
extension then renders the report applies format and sends the same to the end client. Us
Excel, PDF, HTML, CSV and XML. You can also extend the rendering extension to deliver in
Step 3 a A new SQL Server agent is created for this subscription. So we have completed the
Figure 16 : - Subscription process
Now that the subscription is created lets see how the delivery process works. Here are five
event occurs SQL Server agent makes an entry in the report server DB. Step 2 and 3 a RS
events. If a event has occurred it gets the event from the database and sends a message to
The report is then processed by the report processor and sent to the delivery extension who
address, folder, FTP or any other kind of output.
Figure 17 : - Delivery process
Reporting Services Database:- When you install reporting services you will see two data
"ReportServerTempDB"."ReportServer" database contains report definitions, schedule, subs
"ReportServerTempDB" stores temporary information like session state about reports which
information. Please note snapshots are stored in reportserver and not in tempDB.
Try Safari Books Online - 15 Days FREE + 15% Off for 1 Year
Try Safari Books Online - 15 Days FREE + 15% Off for 1 Year
Design HTML
Submit
Comments
Hosted by MaximumASP | Found a broken | Contac| Terms & | Privac | Site | Sugge | Media Kit
link? t Us conditions y Map st an
Policy Idea
© 2010 contents copyright of their authors. Rest everything copyright Mindcracker. All rights reserved.
Channels: Job | Interview |Consulti |Train |Pho |Aut |Ti |For |E- |B
s s ng ing tos hor p um Bo lo
s s s ok g
s s
Programming: C | Visual |ASP.NET & Web |C |Other .NET |Windo |X |Tu
# Basic Development + Languages ws A tor
+ Vista M ial
L s
Sponsors: ASP.NET 4 Hosting |Clickat |DevExpr |Dynami |Ne |RedGate |Safari
ell ess cPDF vro Software Books
n Online