Torna al Thread

dim cn as new OledbConnection("Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\fileexcel.xls;Extended Properties=""Excel 8.0;HDR=Yes;IMEX=1""") cn.Open dim foglio1 as new DataTable dim da as new OledbDataAdapter("SELECT * FROM [Foglio1$]",cn) da.Fill(foglio1)
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5