C# Class TRManager.CSVManager

Datei anzeigen Open project: UristMcMiner/SE-Projekt_RWB.csharp

Public Methods

Method Description
Export ( String path, String &errorString ) : bool

exports the rows of a Stringlist, which it gets from the method UtilityDB.getExportData(), to a *.csv-File inside the folder at the parameter "path"

Import ( string fileName, String &errorString ) : bool

imports the students found in the *.csv-File located at the path "fileName"

ImportTeachers ( string fileName, String &errorString ) : bool

Method Details

Export() public static method

exports the rows of a Stringlist, which it gets from the method UtilityDB.getExportData(), to a *.csv-File inside the folder at the parameter "path"
public static Export ( String path, String &errorString ) : bool
path String path where to export the *.csv file
errorString String error message out
return bool

Import() public static method

imports the students found in the *.csv-File located at the path "fileName"
public static Import ( string fileName, String &errorString ) : bool
fileName string path to the *.csv file
errorString String error message out
return bool

ImportTeachers() public static method

public static ImportTeachers ( string fileName, String &errorString ) : bool
fileName string
errorString String
return bool