You are on page 1of 1

cmd = New OleDbCommand(" select * from table")

adapter = New OleDbDataAdapter(cmd)


cmd.Connection = cnx
adapter.Fill(data, "table")
table = data.Tables("table")
DataGrid1.DataSource = table

You might also like