title: How to retrieve actual OleDb table schema (excluding additional table columns)
body: <p>When I run this code it is also retrieving some other fields which are not present in the table. How can I overcome this?</p>
  
  <pre><code>Dim conn As New OleDb.OleDbConnection
  'Create a connection string for an Access database
  Dim strConnectionString = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=F:\check\a.mdb"
  'Attach the connection string to the connection object
  conn.ConnectionString = strConnectionString
  'Open the connection
  conn.Open()
  Dim Restrictions() As String = {Nothing, Nothing, selected, Nothing}
  Dim CollectionName As String = "Columns"
  Dim dt As DataTable = conn.GetSchema(CollectionName, Restrictions)
  For Each TableRow As DataRow In dt.Rows
      ComboBox1.Items.Add(TableRow.Item("COLUMN_NAME"))
  </code></pre>
  
  <p>The additional columns which is also retrieved are:  </p>
  
  <p>1.ID<br>
  2.Date create<br>
  3.Date update<br>
  4.Id<br>
  5.Lv<br>
  6.Name<br>
  7.parent Id<br>
  8.Type<br>
  9.GUID<br>
  10.Id  </p>
  
  <p>... and 6 more. The original schema consists of only 5 fields.</p>