FarPoint.Win.Spread アセンブリ > FarPoint.Win.Spread 名前空間 > SheetView クラス > OpenExcel メソッド : OpenExcel(Stream,Int32,String) メソッド |
string fileName; fileName = "c:\\book1.xlsx"; System.IO.Stream stream; stream = System.IO.File.Open(fileName, System.IO.FileMode.Open); fpSpread1.Sheets[0].OpenExcel(stream, 0, "test");
Dim fileName As String fileName = "c:\book1.xlsx" Dim stream As System.IO.Stream stream = System.IO.File.Open(fileName, System.IO.FileMode.Open) fpSpread1.Sheets(0).OpenExcel(stream, 0, "test")