5

我正在使用 VS 2005 附带的 Crystal Report。我需要将 Crystal Report 导出到文本文件。有什么办法。

4

2 回答 2

1

看起来他们出于某种原因取消了该枚举。我想您可以遍历底层记录集,然后自己将内容转储到文本文件中。什么是皮塔饼……

于 2009-01-01T18:18:06.790 回答
0

I think the closest you will get to a text file is to export as csv.

ExportFormatType.CharacterSeparatedValues

Now, the thing that sucks about this is if the report is designed to look good (with page footers, headers, etc) the csv file will contain all that. So you would need to make a minimal report to get a good csv export. Which really almost makes it seem more logical to dump to text file yourself.

于 2009-04-23T13:30:51.413 回答