FarPoint.Web.Spread Assembly > FarPoint.Web.Spread Namespace > FpSpread Class > GetExcelSheetNames Method : GetExcelSheetNames(String) Method |
string[] sheetNames = null; sheetNames = FarPoint.Web.Spread.FpSpread.GetExcelSheetNames("D:\\ALM.xls"); 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") Dim i As Integer For i = 0 To sheetNames.Length - 1 ListBox1.Items.Add(sheetNames(i)) Next
Target Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6