I needed to add the following code
Code:
ds.Tables(0).Rows.Add(dr)
cb = New OleDb.OleDbCommandBuilder(oAdapter)
[B][I]cb.QuotePrefix = "["
cb.QuoteSuffix = "]"[/I][/B]
oAdapter.InsertCommand = cb.GetInsertCommand()
Leave a comment: