Export Crystal Report to CSV Format
How to export the cryst开发者_StackOverflow中文版al report to .csv file format?
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.
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.
精彩评论