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 razor view in c#?
What is inumerable?
Can c# inherit multiple classes?
What are data types with examples?
What is difference between override and new in c#?
What is polymorphism and its types in c#?
What are predicates in c#?
What?s the difference between an interface and abstract class?
What is event delegate in c#?
Can property defined in Interface.
Can a class have multiple constructors c#?
How?s method overriding different from overloading?