In this code I used Table directly without using DataSet. What is the difference between using Table with dataset or without it.
vb Code:
  1. Dim sql As String = " Select  NameP from Table1 "
  2.         Dim dp As New OleDbDataAdapter(sql, conn)
  3.         Dim Table1 As New DataTable
  4.         dp.Fill(Table1)
  5.         Form1.DataGridView1.DataSource = Table1