.net 获取Excel所有工作表名称: OleDbConnection oleConn = new OleDbConnection(); oleConn.ConnectionString = “Provider=Microsoft.Jet.Oledb.4.0;data source=D:\\Data.xls;Extended Properties=Excel 8.0;”; oleConn.Open(); DataTable dtOle = oleConn.GetSchema(“Tables”);