C# Класс TRManager.CSVManager

Показать файл Открыть проект

Открытые методы

Метод Описание
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

Описание методов

Export() публичный статический Метод

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
Результат bool

Import() публичный статический Метод

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
Результат bool

ImportTeachers() публичный статический Метод

public static ImportTeachers ( string fileName, String &errorString ) : bool
fileName string
errorString String
Результат bool