protected void Button1_Click(object sender, EventArgs e)
{
FarPoint.Web.Spread.SheetView sv;
System.IO.Stream s;
string fileName;
sv = FpSpread1.ActiveSheetView;
fileName = "C:\\SpreadASP7\\samples\\test.html";
s = System.IO.File.Open(fileName, System.IO.FileMode.OpenOrCreate);
sv.SaveHtml(s, System.Text.Encoding.ASCII);
s.Close();
}
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim sv As FarPoint.Web.Spread.SheetView
Dim s As System.IO.Stream
Dim fileName As String
sv = FpSpread1.ActiveSheetView
fileName = "C:\SpreadASP8\samples\test.html"
s = System.IO.File.Open(fileName, System.IO.FileMode.OpenOrCreate)
sv.SaveHtml(s, System.Text.Encoding.ASCII)
s.Close()
End Sub