Link Search Menu Expand Document

SSpread.LoadFromFile Method

Explanation Imports the contents of a spreadsheet saved in binary format into the spreadsheet currently being edited.

Binary files are SSpread's own format. It can be saved using the SaveToFile method. To load a text file separated by characters such as tabs, use the LoadTabFile and LoadTextFile methods.
Call format LoadFromFile(URL or Reader)
Return value None
Arguments URL or Reader Binary file URL or Reader Object

If URL is specified, the file will be cached on local computer for faster loading from the next time onwards. The latest files can always be acquired from the server by specifying an HttpResponse object.
Exception EXT-24 No valid Reader object specified
EXT-28 An error occurred in the LoadFromFile method
Example of use
    var fs = new FileSystem();
    var f = fs.OpenDialog("Open", "SSpread Save Data(*.*)=*.*", "", "");
    LoadFromFile(f);
    f.Close();
    
Related item LoadTabFile, LoadTextFile, SaveToFile methods
HttpResponse class