how can i display crystalreport in button click?
am working with VS2005
Answer / tanveer sidiq
Palce CrystalReportViewer Object on ur form and name it to
objCrystalReportViewer
drag a button on to the same name it to btnTemp
on btnTemp click write the following lines of code
dim rdReportToPrint as new
CrystalDecisions.CrystalReports.Engine.ReportDocument()
rdReportToPrint.Load("write the path were in u have save ur
report here" )
objCrystalReportViewer.ReportSource = rdReportToPrint;
this is the way we load crystalreport dynamically
Is This Answer Correct ? | 1 Yes | 0 No |
what is a destructor?
what is ment by Unboxing?
What is the use of base keyword? Tell me a practical example for base keyword’s usage?
Why reflection is used in c#?
How many types of interface are there in c#?
Can you override private virtual methods?
11 Answers AROBS Transilvania Software, IBM, Mind Tree, Revalsys,
what is namespace?
What is thread safe in c#?
What are the different types of literals in c#?
Why do we need abstract class?
how can we pass parameters to a user control using delegates ?
What is a Assembly?