Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


how can i display crystalreport in button click?

am working with VS2005



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

Post New Answer

More C Sharp Interview Questions

Is it not possible to store a boolean value as a variable?

0 Answers  


How to Show Message box in Metro Style App?

0 Answers   PUCIT,


What do you mean by object pooling?

0 Answers  


What is autopostback in c#?

0 Answers  


what is be the overhead, if i use binary transmission. and will it be sent using xml text or how ?

0 Answers  


What is a partial method?

0 Answers  


What is cosole application?

0 Answers  


Why does my windows application pop up a console window every time I run it?

0 Answers  


What?s the implicit name of the parameter that gets passed into the class? set method?

3 Answers   Visual Soft,


What is different between Static Constructor and Private Constructor?

0 Answers  


Which are access modifiers available in c#?

0 Answers  


Can you prevent your class from being inherited and becoming a base class for some other classes?

3 Answers  


Categories