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




Reply With Quote