Link Search Menu Expand Document

CSVDocument.SetCell Method

Explanation Specify the row and column, and the data in the cell will be set
Call format csvdoc.SetCell( row, column, text )
Return value None
Arguments integer row Specify cell start from row index 0
integer column Specify cell start from column index 0
String text Character string set in cell
Exception CSV-13 Incorrect row index
CSV-14 Incorrect column index
Example of use
    var csvdoc = new CSVDocument;
    csvdoc.InsertColumn(0);
    csvdoc.InsertRow(0);
    csvdoc.SetCell(0, 0, "sample");
    
Related item GetCell, SetCells, SetCellByName methods