Click or drag to resize

CSVReaderread Method

read table, convert contents to upper case, remove blanks and sort by field FieldID if required. Sort table according to column given by FieldID if its value is > 0

Namespace:  Karamba.Utilities
Assembly:  KarambaCommon (in KarambaCommon.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public void read(
	string path,
	int FieldID,
	bool toUpper,
	bool removeBlanks
)

Parameters

path
Type: SystemString
path to CSV-file to read from
FieldID
Type: SystemInt32
zero based column index if item according to which the table is to be sorted. If less than 0 no sorting occurs.
toUpper
Type: SystemBoolean
if true all characters are converted to upper case
removeBlanks
Type: SystemBoolean
if true all blanks are removed from the table items
See Also