how can i display crystalreport in button click?
am working with VS2005
Answer Posted / 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 |
Post New Answer View All Answers
Explain About disco and uddi
Can enum have methods c#?
Is c# good for web development?
Can constructor be protected?
What is difference between .net and c#?
What is func c#?
How do I edit a dll file?
Can a class be private in c#?
What is CLR and its application.?
What are the 2 broad classifications of fields in c#?
How can you reference current thread of the method ?
What does dbml stand for?
What is generic collection in c#?
What are the types of comments in c#?
What is readline c#?