title: Display data from access using dataset
body: <pre><code>    Dim con As New OleDb.OleDbConnection
      Dim dbProvider As String
      Dim dbSource As String
      Dim ds As New DataSet
      Dim da As New OleDb.OleDbDataAdapter
      Dim sql As String
      dbProvider = "Provider=Microsoft.Jet.OLEDB.4.0;"
      dbSource = "Data Source = C:\Users\Blessing\Documents\Ishvatest.mdb"
      con.Connectionstring = dbProvider &amp; dbSource
      con.Open()
      sql = "SELECT * From Employees"
      da = New OleDb.OleDBDataAdapter(sql, con)
      da.Fill(ds, "Ishvatest")
      MsgBox("Ishvatest is now open")
      con.Close()
      MsgBox("Ishvatest is now closed")
      txtID.Text = ds.Tables("Employees").Rows(0).Item(1)
      txtID.Name = ds.Tables("Employees").Rows(0).Item(2)
  </code></pre>
  
  <p>If I run the program with this code I get the error "Null Reference Exception was unhandled"</p>
  
  <p>What's wrong in my code?</p>