Link Search Menu Expand Document

CSVDocument.DeleteRow Method

Explanation Delete row of selected row index.
Call format csvdoc.DeleteRow( row )
Return value None
Arguments integer row Line number starting with 0 on the line to be deleted.
If you specify 0, the first line is deleted, and if you specify 1, the second line is deleted.
Exception CSV-6 Specified row cannot be deleted
Example of use
    var csvdoc = new CSVDocument;
    var res = session.Get("/test/sample.csv");
    csvdoc.Load(res);
    csvdoc.DeleteRow(0);
    
Related item InsertRow, InsertColumn, DeleteColumn methods