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..
No Answer is Posted For this Question
Be the First to Post Answer
How to "Print" in Crystal Reports while using ASP DOT NET Platform?
How to print two details fields at the bottom of the page
Explain reporter footer contents are move depend the page footer values?
Kindly Help for this Below Scenario, I am going to implement Power BI into our internal software. I’m familiar with the fact that each user can pay $9.99 a month to build and view reports but what I need to know is how can we embed Power BI into our application so that any users that log into our application can see the reports without the monthly fee. I’ve researched enough that it can be done. What I am not familiar with is how to do it or the pricing of embedding it into an application. I think they do pricing on how many renders you do or something. Would you be able to look into how we could embed it into our software and the cost?
Where can we find the log file genertaed when we run a crystal report?
Is there a way to export the report formulas, like totals to excel?
Can we create report using more than one database?
3 Answers CSC, Seed Infotech, Target,
Can we use Crystal report as a stand-alone application?
Is it possible to join more than one universe in Busniess Objects BOE XI ? If its so Please explain how is that possible ? Thanks in advance for the people posting the answers
How to refresh the crystal report from the application ?
where is the "save data with report" option?
How to pass stored Procedure Parameters to the report?
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)