title: store names of tables of a ms access accdb database into array in vb.net
body: <p>I'm trying to get the names of all tables of ms access database and store in a array. Is there any way to do that? or modification of this, I copied this code so I DONT KNOW WHAT IS IT FOR</p>
  <pre><code>    con1.Open()
      Dim Restrictions() As String = {Nothing, Nothing, &quot;Table1&quot;, Nothing}
      Dim CollectionName As String = &quot;Columns&quot;
      Dim dt As DataTable = con1.GetSchema(CollectionName, Restrictions)
      For Each TableRow As DataRow In dt.Rows
          Console.WriteLine(TableRow.Item(&quot;COLUMN_NAME&quot;).ToString)
      Next
      con1.Close()
  </code></pre>