G
Guest
Getting following error when I Update an OleDbDataAdapter: “Argument 'Prompt' cannot be converted to type 'Stringâ€.
I used the Wizard to generate the DataConenction and DataAdapter
Code is:
OleDbDataAdapter1.Fill(ds, "PatientSummaryTBL")
Dim tbl As DataTable = ds.Tables("PatientSummaryTBL")
Dim row As DataRow = tbl.Rows(0)
row("AgeCategory") = "Infant"
Try
OleDbDataAdapter1.Update(ds, "PatientSummaryTBL")
Catch e As Exception
MsgBox(e)
End Try
Much Appreciate
I used the Wizard to generate the DataConenction and DataAdapter
Code is:
OleDbDataAdapter1.Fill(ds, "PatientSummaryTBL")
Dim tbl As DataTable = ds.Tables("PatientSummaryTBL")
Dim row As DataRow = tbl.Rows(0)
row("AgeCategory") = "Infant"
Try
OleDbDataAdapter1.Update(ds, "PatientSummaryTBL")
Catch e As Exception
MsgBox(e)
End Try
Much Appreciate