CSV Reports
CsvReader Class Methods


KellermanSoftware.CsvReports Namespace : CsvReader Class

For a list of all members of this type, see CsvReader members.

Public Methods
 NameDescription
Public Method Create a forward only reader for a CSV file  
Public Method Read a CSV file into a DataTable. There must be a header row and the column names must be alpha numeric.  
Public Method Read a CSV File and return a dictionary with the keys as the header names. By default header column name spaces are removed. See RemoveColumnNameSpaces.  
Public Method Read a CSV file into a list of objects. Public properties are mapped by name, they are case sensitive. It will automatically map all primitive types such as int, long, string and complex types of GUID, Enum, DateTime. Properties that do not exist are ignored.  
Public Method Read a CSV File and return a list of rows and columns  
Public Method Create a forward only reader for a CSV stream  
Public Method Read a CSV stream into a DataTable  
Public Method Read a CSV Stream and return a dictionary with the keys as the header names. By default header column name spaces are removed. See RemoveColumnNameSpaces.  
Public Method Read a CSV stream into a list of objects. Public properties are mapped by name, they are case sensitive. By default header column name spaces are removed. See RemoveColumnNameSpaces. It will automatically map all primitive types such as int, long, string and complex types of GUID, Enum, DateTime Properties that do not exist are ignored.  
Public Method Read a CSV Stream and return a list of rows and columns  
Public Method Read a CSV string into a DataTable. There must be a header row and the column names must be alpha numeric.  
Public Method Read a CSV String and return a dictionary with the keys as the header names. By default header column name spaces are removed. See RemoveColumnNameSpaces.  
Public Method Read a CSV string into a list of objects. Public properties are mapped by name, they are case sensitive. It will automatically map all primitive types such as int, long, string and complex types of GUID, Enum, DateTime. Properties that do not exist are ignored.  
Public Method Read a CSV String and return a list of rows and columns  
Public Method This will replace CR with CRLF if the line does not already end with CRLF  
Top
See Also

Reference

CsvReader Class
KellermanSoftware.CsvReports Namespace