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 to "Print" in Crystal Reports while using ASP DOT NET
Platform?

Answer Posted / rahul

using CrystalDecisions.Shared

CrystalReport1 cr= new CrystalReport1;

'here crystalreport1 is crystal report which we design.

CrystalViewer1.ReportSource = cr;

OR

we can directly print the report without showing report

CrystalReport1 cr= new CrystalReport1;

cr.PrintToPrinter(1,False,1,1);

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How to access crystal reports in .net?

1220


Explain the various components in crystal reports?

1281


hi... i've two crystal reports one is in D: drive name employee.rpt with 5 textobject and another report is in E: drive name employee.rpt with 15 textobject... now i want to write a program to overwrite the D drives report with E drives reports i.e i want to replace the 5 textobject with 15 textobject.. overwriting the reports while it is executing .. is there any code for it please help me.. its urgent..

3128


Explain basic steps required to display a simple report in crystal?

1155


Where is the image located, after youve placed it on the report?

1102


Why do we use crystal reports when we have reporting tools in bo itself?

1114


Explain reporter footer contents are move depend the page footer values?

1062


If we create reports in Crystal Reports using the UCAR Data Warehouse database, which tables should be used?

2791


How do you add a subreport to a report in Crystal Reports?

1194


hi ... i've created one crystal report in windows form and one crystalreportviewer .. the following is my code.. in form1.cs file try { ExportOptions CrExportOptions; DiskFileDestinationOptions CrDiskFileDestinationOptions = new DiskFileDestinationOptions(); PdfRtfWordFormatOptions CrFormatTypeOptions = new PdfRtfWordFormatOptions(); CrDiskFileDestinationOptions.DiskFileName = "c:\\csharp.net- informations.pdf"; CrExportOptions = cryRpt.ExportOptions; { CrExportOptions.ExportDestinationType = ExportDestinationType.DiskFile; CrExportOptions.ExportFormatType = ExportFormatType.PortableDocFormat; CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions; CrExportOptions.FormatOptions = CrFormatTypeOptions; } cryRpt.Export(); } the above code is saving the file into pdf into specified path.. but i dont want to save a file i should get direct print preview and have a option to print .. As we do in web application using crystal report viewer clicking print and report will be opened in pdf.. and the click print.. i want the same function as we do in web application... i'm writing code in c#.net hope the above explaination will be understood clearly..

3665


how can we convert crystal dictionary dc5 file to another datasource format like mdb or xml schema

3088


What all performance improvement techniques used in crystal reports? (Particularly cr xi)?

1111


How the data expert of flash object(after inserting flash object_right click-data expert) is useful in crt?

1786


Suppose I have a crystal report with a linked subreport as well. Is there any way not to print the current record on the main report if no records are returned from the subreport?

1070


Suppose I am not able to see any image on crystal report at run time. So how can I load any image which is saved in local disk so that it can be viewed at runtime in crystal reports?

1196