DiskFileDestinationOptions ;. WordForWindows; DiskOpts. Export ; Response. ClearContent ; Response. ClearHeaders ; Response. WriteFile ExportPath ; Response.

Author:Vot Zulut
Language:English (Spanish)
Published (Last):20 April 2012
PDF File Size:20.37 Mb
ePub File Size:10.46 Mb
Price:Free* [*Free Regsitration Required]

Home Categories. Need Help? Our Support Team is here to help. Ask Question. Net with C and VB. You can download it from here. Download Northwind Database. HTML Markup. You will need to import the following namespaces. Imports System. Imports CrystalDecisions. Designing and populating the Crystal Report from Database. Inside the Page Load event, the Crystal Report is populated from database. Note : For more details about designing and populating Crystal Report, please refer the following article.

Crystal Report ASP. Net and Visual Studio ReportDocument crystalReport;. Load Server. SetDataSource dsCustomers ;. ConnectionStrings[ "constr" ].

Fill dsCustomers, "DataTable1" ;. Private crystalReport As ReportDocument. SetDataSource dsCustomers. End Sub. ConnectionStrings "constr". Dim cmd As New SqlCommand query.

Using dsCustomers As New Customers. Fill dsCustomers, "DataTable1". Return dsCustomers. End Using. End Function. The Crystal Report exported document i. End ;. Select Case rbFormat. Case "Word". Exit Select. Case "PDF". Case "Excel".

Case "CSV". End Select. The Crystal Report. Crystal Report exported to PDF file. Related Articles. Add Comments. Thank you for the feedback. The comment is now awaiting moderation. You will be notified via email when the author replies to your comment. You can add your comment about this article using the form below. Make sure you provide a valid email address else you won't be notified when the author replies to your comment Please note that all comments are moderated and will be deleted if they are Not relavant to the article Spam Advertising campaigns or links to other sites Abusive content.

Please do not post code, scripts or snippets. Required Invalid Email Address. Security code:. Required Invalid security code. I declare, I accept the site's Privacy Policy. Add Comment. Disclaimer : The code samples and API available at www. You are free to use it for commercial as well as non-commercial use at your own risk, but you cannot use it for posting on blogs or other tutorial websites similar to www.

All the code samples and API provided by the authors are solely their creation and neither the author nor the site are responsible if it does not work as intended. I agree to the above terms. Download Required. View Demo. What our readers say. Error Details. This site makes use of Cookies. Please refer Privacy Policy for more details. Got it.


Subscribe to RSS

Not what you're looking for? Search community questions. This question has been deleted. This question has been undeleted.


How Avoid Dialog Box Open/Save Files

Last post Apr 20, AM by aldowarnerr. I am developing an web application where I have Crystal Reports which I need to provide print option for users. I also don't like to use CR Toolbar. Also it's not working after providing the logon credentials. Here is my code fro converting and printing CR:.

Related Articles