FarPoint.Web.Spread 名前空間 > FpSpread クラス > OpenExcel メソッド : OpenExcel(String,Int32,String,ExcelOpenFlags,String) メソッド |
'Declaration
Public Overloads Function OpenExcel( _ ByVal fileName As String, _ ByVal spreadSheetIndex As Integer, _ ByVal excelSheetName As String, _ ByVal excelOpenFlags As ExcelOpenFlags, _ ByVal password As String _ ) As Boolean
public bool OpenExcel( string fileName, int spreadSheetIndex, string excelSheetName, ExcelOpenFlags excelOpenFlags, string password )
FpSpread1.OpenExcel("C:\\savedinexcel.xls", 0, "PCREPORT.RPT", FarPoint.Excel.ExcelOpenFlags.DataOnly, "test");
FpSpread1.OpenExcel("C:\savedinexcel.xls", 0, "PCREPORT.RPT", FarPoint.Excel.ExcelOpenFlags.DataOnly, "test")