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 |
Write down the c# syntax to catch an exception
What’s difference between Association, Aggregation and Inheritance relationships?
How do you pass reference parameters in c#?
What is the purpose of the integer parse method the decimal parse method?
What is use of console?
How string definitions will prevent escaping on backslashes in C#?
What is meant by desktop application?
What is the default value of object in c#?
What is a custom attribute?
For read-only operation which property you have to designated?
What is assembly c#?
How to find Percentage, name ,College from a resume or document ? How to export these values to other page in C#?
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)