You can save the data in a sheet to an HTML file or stream.
Using Code
Use the SheetView's SaveHtml method, specifying the path and file name of the file to save or the Stream object to save.
Example
This example code saves the data to an HTML file.
C# | Copy Code |
---|---|
FpSpread1.Sheets[0].Cells[0, 0].Value = 1;
FpSpread1.Sheets[0].SaveHtml("C:\\SpreadASP7\\samples\\test.html");
|
VB | Copy Code |
---|---|
FpSpread1.Sheets(0).Cells(0,0).Value = 1
FpSpread1.Sheets(0).SaveHtml("C:\SpreadASP7\samples\est.html")
|