ALLInterview.com :: Home Page KalAajKal.com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage  Contact Us     Login  |  Sign Up                      
tip   SiteMap shows list of All Categories in this site.
Google
 
Categories  >>  Software  >>  Microsoft Related  >>  Crystal Reports
 
 


 

 
 Visual Basic interview questions  Visual Basic Interview Questions
 C Sharp interview questions  C Sharp Interview Questions
 ASP.NET interview questions  ASP.NET Interview Questions
 VB.NET interview questions  VB.NET Interview Questions
 COM+ interview questions  COM+ Interview Questions
 ADO.NET interview questions  ADO.NET Interview Questions
 IIS interview questions  IIS Interview Questions
 MTS interview questions  MTS Interview Questions
 Crystal Reports interview questions  Crystal Reports Interview Questions
 BizTalk interview questions  BizTalk Interview Questions
 Dot Net interview questions  Dot Net Interview Questions
 Exchange Server interview questions  Exchange Server Interview Questions
 SharePoint interview questions  SharePoint Interview Questions
 Microsoft Related AllOther interview questions  Microsoft Related AllOther Interview Questions
Question
how to create crystal reports in .net
 Question Submitted By :: Vijaisankar
I also faced this Question!!     Rank Answer Posted By  
 
  Re: how to create crystal reports in .net
Answer
# 1
Select new item add Crystareport.rpt.report page will be 
generated.In asp page u need to add crystal report viewer 
control.
In aspx page follow the below code.....
ReportDocument rpt=new ReportDocument()
....
.....
..Fill the type dataset with ur required data.
.......
.....
rpt.Load(server.mappath("crystareport name"))
rpt.SetDataSource(objds);
CRV10.ReportSource = rpt;
.................
.............
after that switch to crystal report form and add dataset to 
the report using databse expert......
 
Is This Answer Correct ?    8 Yes 0 No
Shekhar
 
  Re: how to create crystal reports in .net
Answer
# 2
Firstly Create report. Then use crystal report viewer that 
will be docked or normal view in any form.

U have to create object of created report and form that 
contain report viewer.

dim crp_MyReport= new crp_ReportTest
Dim frm_Viewer=new frm_ViewerTest
If u want to pass parameter
dim parameter system.crystaldecision.shared.parameter
dim parameters system.crystaldecision.shared.parameters
dim parameters=crp_myreport.parameters
for each parameter in parameters
  select .parameterfieldname
       case "parametername1"
          .currentvalue.addvalue(value)
   end case
next
frm_viewer.crv_viewer.refresh()
frm_viewer.crv_viewer.reportsource=crp_Myreport
frm_viewer.show()
 
Is This Answer Correct ?    4 Yes 2 No
Santosh Kumar
 
 
 

 
 
 
Other Crystal Reports Interview Questions
 
  Question Asked @ Answers
 
How to Filter the Crystal reports? CCIL8
I am not able to see any image on Crystal Report at Run time. So how can I load any image which is saved in local disk so that it can be viewed at Runtime in Crystal reports?  4
How to pass stored Procedure Parameters to the report?  1
Is there a way to export the report formulas, like totals to excel?  2
Is there any feature like summing total in crystal report? Sonata9
Can we add any database field once we have chosen ?Close? button?  2
Where can we find the log file genertaed when we run a crystal report? Microsoft1
What are the sections that we have in Crystal reports?  9
Does Crystal Report support all the functions that we have in Oracle? MPS-Techologies2
Can we use Crystal report as a stand-alone application? Covansys4
When looking at the join types in Crystal - what does it mean when you coose Enforce and Enforce To or Enforce From  2
Can we create report using more than one database? Target3
Is there a way to export a report definition without writing code?  1
How many types of reports can be generated in crystal reports? winfoware5
How to conditionally suppress a field based on whether a page number is odd or even?  3
Reports can be optimized for web viewing using which of the following strategies: a. Using subreports instead of linking tables b. Avoiding maps c. Using the Page N of M special field to help users understand how many pages are in the report d. Saving reports as version 10 e. Avoiding reports with drill-down capabilities  1
How to print two details fields at the bottom of the page  1
How many sub-reports can report can have? IBM3
How many sections are there in the report  4
Can we export data of reports into other format like in world doc etc?  5
 
For more Crystal Reports Interview Questions Click Here 
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us interview questions urls   External Links 
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com