views:

430

answers:

2

How to export the crystal report to .csv file format?

+2  A: 

Are you using the free version of Crystal reports that comes with .NET?

If so, apparently you can't. There is a post here that states

The free version of VS.NET doesn't have the CSV export options. You have to upgrade to get that capability.

Nathan Koop
+1  A: 

Assuming you have a nice structured ResultSet, you can export your crystal reports to Excel format, and then do a simple export from Excel into CSV. There are plenty of code snippets out there on how to programmatically work with Excel spreadsheets.

Dillie-O