CleanCode C# Libraries v0.9.23 API

CsvWriter.FieldNamesLowercase Property

Gets or sets a value indicating whether field names should be converted to lowercase for the header row.

public Boolean FieldNamesLowercase {get; set;}

Property Value

true to force lowercase; otherwise, false.

Remarks

CSV files are generated with a header row where each field contains the name and datatype of the column of the underlying DataTable in the format name:type. There seems to be a quirk in Excel 2000 (but not in Excel 2003) that prevents it from reading a CSV file if the name is all uppercase. One may use this property to compensate for that.

See Also

CsvWriter Class | CleanCode.Data Namespace