Quote Originally Posted by new1 View Post
jmcilhinney i'm kinda beginner so tell me agin in simple way how can i adjust this code

vb Code:
  1. Dim CON As New OleDbConnection("Provider=Microsoft.Jet.OLEDB.4.0; Data Source =" & Application.StartupPath & "\database.mdb")
  2. Dim sql As String = "select bot.trigger,bot.verse1 from bot"
  3. Dim data As New OleDbDataAdapter(sql, CON)
  4.         Dim ds As New DataSet
  5.         ds.Clear()
  6.         data.Fill(ds, "bot")
  7.         DataGridView1.DataSource = ds
  8.         DataGridView1.DataMember = "bot"

to not give me datagridview is bound
If you don't want the grid bound then don't bind it, i.e. don;t set the DataSource.