LoadFromJsonFile

DataSet.LoadFromJsonFile method

Import dataset from .json file by path Suiatable for big and small datasets

public static DataSet LoadFromJsonFile(string filePath, Encoding encoding = null)
ParameterTypeDescription
filePathStringpath to .json file
encodingEncodingfile encoding

Return Value

Instance of DataSet with the content of the provided file

Exceptions

exceptioncondition
FileNotFoundExceptionWhen file not found

See Also