'Declaration Public Overloads Function SaveExcel( _ ByVal stream As Stream, _ ByVal password As String _ ) As Boolean
Parameters
- stream
- Stream to which to save the data
- password
- The file password
'Declaration Public Overloads Function SaveExcel( _ ByVal stream As Stream, _ ByVal password As String _ ) As Boolean
Exception | Description |
---|---|
System.ArgumentNullException | No stream specified or specified stream is null |
string f; f = "D:\\formula1.xls"; System.IO.FileStream s = new System.IO.FileStream(f, System.IO.FileMode.Open, System.IO.FileAccess.ReadWrite); fpSpread1.SaveExcel(s, "test"); s.Close();
Dim f As String f = "D:\formula1.xls" Dim s As New System.IO.FileStream(f, IO.FileMode.Open, IO.FileAccess.ReadWrite) FpSpread1.SaveExcel(s, "test") s.Close()