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..
What do employers test for in excel?
X is a solid having a white colour at room temperature. It has a density about 2g/cc. Although it has melting point near 325 degree Celsius, its properties start degrading above 260 degree Celsius. The coefficient of friction is very low about 0.1. It has very good dielectric properties especially at higher radio frequencies. It has a very high bulk resistivity. It is chemically inert. It is also resistant to van der Waals force. It is hydrophobic as well as lipophobic. Creep or ‘Cold Flow’ has been observed in X.
Explain mrp stands for?
What table do I use in creating abap program that would output the sales based on sales organization of customers?
What is dml with example?
How do I link table of contents in word?
Mention what is the default port for tomcat?
What is hadoop pig?
How do you create a timestamp for particular tasks in automation anywhere?
What service is iis?
How to index LF by relative record no (RRN)
How many ohms are required for proper earthing?
What are result types in struts?
What is meant by datasource?