CSV Export Settings

To customize CSV exports in the Bold Reports® ASP.NET MVC Report Writer, set the customization properties in the CsvOptions property of the Report Writer instance. The CsvOptions property lets you change the encoding, delimiters, qualifiers, extension, and line break of a CSV exported document.

writer.CsvOptions = writer.CsvOptions = new BoldReports.Writer.CsvOptions()
{
    Encoding = System.Text.Encoding.Default,
    FieldDelimiter = ",",
    UseFormattedValues = false,
    Qualifier = "#",
    RecordDelimiter = "@",
    SuppressLineBreaks = true,
    FileExtension = ".txt"
};

See also