FarPoint.Web.Spread 名前空間 > FpSpread クラス > GetExcelSheetNames メソッド : GetExcelSheetNames(String,String) メソッド |
string[] sheetNames = null; sheetNames = FarPoint.Web.Spread.FpSpread.GetExcelSheetNames("D:\\ALM.xls", "test"); int i; for (i = 0; i <= sheetNames.Length - 1; i++) { ListBox1.Items.Add(sheetNames[i]); }
Dim sheetNames As String() = Nothing sheetNames = FpSpread1.GetExcelSheetNames("D:\ALM.xls", "test") Dim i As Integer For i = 0 To sheetNames.Length - 1 ListBox1.Items.Add(sheetNames(i)) Next