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 |
Is it not possible to store a boolean value as a variable?
How to Show Message box in Metro Style App?
What do you mean by object pooling?
What is autopostback in c#?
what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?
What is a partial method?
What is cosole application?
Why does my windows application pop up a console window every time I run it?
What?s the implicit name of the parameter that gets passed into the class? set method?
What is different between Static Constructor and Private Constructor?
Which are access modifiers available in c#?
Can you prevent your class from being inherited and becoming a base class for some other classes?
Visual Basic (800)
C Sharp (3816)
ASP.NET (3180)
VB.NET (461)
COM+ (79)
ADO.NET (717)
IIS (369)
MTS (11)
Crystal Reports (81)
BizTalk (89)
Dot Net (2435)
Exchange Server (362)
SharePoint (720)
WCF (340)
MS Office Microsoft (6963)
LINQ Language-Integrated Query (317)
WPF (371)
TypeScript (144)
Microsoft Related AllOther (311)