Hello,
When I do a Print Preview, and click the Export button on the CR viewer control, the export list does not show the CSV item. Just .rpt, .pdf, .xls, .doc, and .rtf are shown.
Moreover, when I try to export from my code, I get an error dialog which says "Invalid export DLL or export format".
The line of code I'm using to export is:
reportDocument.ExportToDisk(
ExportFormatType.CharacterSeparatedValues, saveFileDialog.FileName);
I hear talk about export to CSV, but I haven't found any code samples on how to implement this functionality. The CR XI .NET SDK documentation says that export to CSV is possible, but doesn't show any API sample code.
Export to Excel, PDF, Word, and rtf all work fine from within my code.
I've upgraded to XI Release 2. The Crystal assembly references in my project show version numbers 11.5.3700 and 11.5.3300. Yet it seems I don't have the latest since there is no CSV item in the Crystal Report Viewer export list and from what I'm reading on this forum, there should be.
Any input would be greatly appreciated.
Still a newbie,
Ken