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 comparable a functional interface?
How do you convert byte array to hexadecimal string, and vice versa?
How can I use .NET components from COM programs?
class Program { void add() { int x=10, y=20; fun(); Console.WriteLine("{0}", sum); } void fun() { int sum; sum = x + y; } static void Main(string[] args) { Program f =new Program(); f.add(); } } Debug above program.....
If I want to override a method 1 of class A and in class b then how do you declare ?
how to compare numbers and dispaly the largest ? *first thing I wanted to do is to input how many numbers to be compared *and then analyzed the largest then display it.
What is the name of the implicit input parameter of a set accessor for any property?
What is the use of properties window?
What is the data provider name to connect to access database?
What is parallel programming in c#?
Are objects passed by reference in c#?
What?s the advantage of using System.Text.StringBuilder over System.String?
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)