|
CSV Engine Documentation Contents
|
Some attributes and methods of the Reader class are available in the commercial version only. Reader reads the content of a CSV formatted file. For a list of all members of this type, see Reader Members.
System.Object
[Visual Basic]
NotInheritable Public Class Reader
[C#]
public sealed class Reader
RemarksSome attributes and methods of the Reader class are available in the commercial version only. Example
This example outputs the first column of data contained in the file at 'c:\temp\test.csv' to the console. C# example:Reader csvReader = new Reader(@"c:\temp\test.csv");
while(csvReader.Read())
{
Console.WriteLine(csvReader.CurrentRow[0]);
}
csvReader.Close();
VB example: Dim csvReader As New Reader("c:\temp\test.csv")
While csvReader.Read()
Console.WriteLine(csvReader.CurrentRow(0))
End While
csvReader.Close()
RequirementsNamespace: AldenSystems.CSVEngine Assembly: CSVEngine (in CSVEngine.dll) See AlsoReader Members | AldenSystems.CSVEngine Namespace |