I've found the code: Dim myConnection As OleDbConnection = Nothing Dim strConnectionString = ConfigurationManager.ConnectionStrings("DatabaseConnectionString").ConnectionString
Dim SchemaTable As DataTable myConnection = New OleDbConnection(strConnectionString) myConnection.Open() SchemaTable = myConnection.GetOleDbSchemaTable(System.Data.OleDb.OleDbSchemaGuid.Columns, New Object() {Nothing, Nothing, "tblETYKIETA"}) If SchemaTable.Rows.Count <> 0 Then Console.WriteLine("Table " & SchemaTable.Rows(0)! TABLE_NAME.ToString & " Exists") -- You received this message because you are subscribed to the Google Groups "DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting" group. To post to this group, send email to dotnetdevelopment@googlegroups.com To unsubscribe from this group, send email to dotnetdevelopment+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/dotnetdevelopment?hl=en?hl=en or visit the group website at http://megasolutions.net