How To Retrieve Schema Information by Using GetOleDbSchemaTable and Visual C# .NET

use OleDbConnection's GetOleDbSchemaTable method, see

http://support.microsoft.com/kb/309681/EN-US/