I am trying to open a column named "cn" in table "Notes" using a dataset. This what I have so far, but it does not work. It says "Notes is not a part of dataset". Can someone tell me how to make "notes" a table in the dataset or how I may be doing things wrong? Thanks for any help.
Dim MyDataAdapter as OleDbDataAdapter
Dim MyCommand as New OledbCommand
Dim MyDataSet as DataSet
MyCommand.CommandType = CommandType.Text
MyCommand.CommandType = xxxxxx
MyCommand.SelectCommand = MyCommand
MyDataAdapter.Fill(MyDataSet)
Dim x as integer
x= MyDataSet.Notes.Rows(0).Item(cn)
Dim MyDataAdapter as OleDbDataAdapter
Dim MyCommand as New OledbCommand
Dim MyDataSet as DataSet
MyCommand.CommandType = CommandType.Text
MyCommand.CommandType = xxxxxx
MyCommand.SelectCommand = MyCommand
MyDataAdapter.Fill(MyDataSet)
Dim x as integer
x= MyDataSet.Notes.Rows(0).Item(cn)