posts - 315, comments - 268, trackbacks - 15

My Links

News

View Pietro Libro's profile on LinkedIn

DomusDotNet
   DomusDotNet

Pietro Libro

Tag Cloud

Article Categories

Archives

Post Categories

Blogs amici

Links

GetOleDbSchemaTable

There are 1 entries for the tag GetOleDbSchemaTable
GetOleDbSchemaTable e fogli di lavoro di un file Excel

Post nato da una discussione su forum. Per recuperare i nomi degi fogli di lavoro di un file excel, al fine di popolare ( ad esempio) un controllo ComboBox, possiamo sfruttare la funzione GetOleDbSchemaTable della classe OleDbConnection, la quale, restituisce un istanza di oggetto DataTable con le informazioni a noi necessarie. Il codice per popolare il ComboBox è il seguente: 1 DataTable dt = GetWorksheetList(@"C:\Test.xls");2 if (dt != null)3 ...

posted @ giovedì 21 febbraio 2008 13:27 | Feedback (0) | Filed Under [ C# ]

Powered by:
Powered By Subtext Powered By ASP.NET