22 October 2011

.NET interview questions : Crystal Report

Q.How do we access crystal reports in .NET?

Answer: When crystal reports are integrated with .NET, data can be accessed using ODBC drivers, ADO drivers, database files like excel, xml etc. Accessing data from data sources like ODBC drivers is called as the pull technology. In pull method, a built in wizard is used to select source to pull data from and the tables and fields are then selected to use in the report. In push method data set is created at run time and passed to the report. 

Q:What are the various components in crystal reports?

Answer:When .NET application uses crystal reports, the following components are required:

Report files: .rpt or report files needs to be distributed which can either be compiled into the application (Embedded) or independently (non embedded) from the application.

Crystal reports merge module: The merge module ensures that the correct report components and component versions are installed with the application.

.Net Framework: - .Net framework must be available on the client machine. 

Q.What basic steps are needed to display a simple report in crystal?

Answer: Crystal reports offer a report designer. First, select specific rows and columns from a table. Using the designer, the data on the report can be rearranged and formatted. Once the layout is complete, the report needs to be saved as .RPT

Contributed by: Pinky Bhadran

Click for index page .NET interview questions

No comments:

Post a Comment