Table of Contents

Class ReportCsvExporter

Namespace
DocWright.Reporting.Export
Assembly
DocWright.Reporting.Export.dll

Writes a paginated report's data as delimited text: one record per row of a data region, one field per column.

public static class ReportCsvExporter
Inheritance
ReportCsvExporter
Inherited Members

Remarks

The data, not the page. Each tablix becomes a block of records whose columns are the tablix's columns, so the file can be read by a program rather than looked at. A row that a page break split, and a header row that a later page repeats, are written once: a row is identified by the cell identifiers the paginator gives it, which are stable across paginations and shared by every fragment of one item. Page headers and footers are never written, which is the rule the reference implementation's own default mode applies.

What this is measured against. Nothing. Local rendering refuses CSV — the format exists only in a report server and in Report Builder's own export menu — so there is no headless oracle for it, and these rules are stated from the format's documentation and from what a consumer of a CSV needs rather than compared against Microsoft's bytes.

Methods

Export(ReportPageModel, Stream, ReportCsvExportOptions?)

Writes a paginated report's data as UTF-8 delimited text.

ToCsv(ReportPageModel)

Returns a paginated report's data as delimited text.

ToCsv(ReportPageModel, ReportCsvExportOptions?)

Returns a paginated report's data as delimited text.