CSV Reports
CsvWriter Class Members
Properties  Methods 


KellermanSoftware.CsvReports Namespace : CsvWriter Class

The following tables list the members exposed by CsvWriter.

Public Constructors
 NameDescription
Public ConstructorOverloaded.   
Top
Public Properties
 NameDescription
Public Property List with custom column names. Defines order and names of columns  
Public Property Property which controls date format. Default is "g". See https://msdn.microsoft.com/en-us/library/8kb3ddd4%28v=vs.110%29.aspx  
Public Property Override the default encoding. The default is Encoding.Default  
Public Property If true, Pascal Cased Header Names will be split into words. Default is true  
Public Property If true, a default header will be output. Default is true  
Public Property The quote character. Defaults to double quote  
Public Property If true, each field will be surrounded with quote (double quote by default). Default is false  
Public Property The seperator for the columns. Default is a comma. This can be changed to a pipe or tab etc.  
Top
Public Methods
 NameDescription
Public MethodOverloaded.  Append to a CSV file. For the first item passed it will create the header if OutputHeader is true.  
Public MethodOverloaded.  Write the properties of a class list to a CSV string and append to existing string  
Public MethodOverloaded.  Append an object to a CSV writer  
Public MethodOverloaded.  Create a CSV file from a list of objects. It will output all public properties of the class as columns.  
Public MethodOverloaded.  Create a CSV string from a list of objects. It will output all public properties of the class as columns.  
Public Method Write the properties of a class list into a TextWriter  
Public MethodOverloaded.  Create a CSV File from a data table  
Public MethodOverloaded.  Create a CSV String from a data table  
Public MethodOverloaded.  Output the rows of a data table to a text writer  
Top
See Also

Reference

CsvWriter Class
KellermanSoftware.CsvReports Namespace