CroSecTableread(String, Int32) Method

read CSV-file from given path, sort resulting table according to item in specified column if required.

Definition

Namespace: Karamba.CrossSections
Assembly: KarambaCommon (in KarambaCommon.dll) Version: 3.0.8.0+eb23a7103f0eca0b6d808121e15fec6899194e15
C#
public string read(
	string path,
	int fieldID
)

Parameters

path  String
path to CSV-file.
fieldID  Int32
zero based column index according to which the table is to be sorted. No sorting takes place if the value is smaller than zero.

Return Value

String
An error message if not empty.

See Also