DataConnector | ComponentOne
ADO.NET provider for CSV / Schema Discovery / RowsToScan CSV
In This Topic
    RowsToScan CSV
    In This Topic

    For general documentation of RowsToScan refer to RowsToScan

    When used with CSV files, the 'RowsToScan' value specifies the exact number of rows to be scanned.

    C#
    Copy Code
    C1CSVConnectionStringBuilder builder = new C1CSVConnectionStringBuilder();
    builder.DetectionScheme = DetectionSchemeType.RowScan;
    builder.RowsToScan = 200;
    builder.Url = "path/to/csvFile.scv";