Thanks for
your reply.I have tried things similar to that. The problem is
with the second line:
Dim table As New MyDataSet.MyTable
When I Type the period after MyDataSet. It does not give me the option for MyTable. It lets me choose from objects like FolderRow, FolderRowChangeEvent, and FolderDataTable.
I am assuming that maybe it is FolderDataTable, so my code looks like this:
Dim adapter As New DataSet1TableAdapters.FolderTableAdapter
Dim table As New DataSet1
Dim row As DataSet1.FolderRow
row = table.NewFolderRow
row.FolderName = "fred"
table.AddFolderRow(row)
adapter.Update(table)
However it still does not work. I appreciate your help on this.
I am new to VB.net and this is the last part of this application
I need to get done. The rest of the project I get to write in PHP and that will be a breeze.
Enter your message below
Sign in or Join us (it's free).