R
Rob Williams
Greetings All,
I am currently working with VB .NET and having an issue with updating
an ACCESS DB via ADO.NET.. Any help would be great.
I am using the data object components. (oledbconn, dataAdapter, &
Dataset).. The dataadapter fills the dataset just fine. The data is
bound to several textboxes. My navigation controls work just fine as
well. However whenever I make a change to a textbox field and hit
update the changes are not made to the DB. Ive included a msgbox to
say yeah or nah to changes. It always says false. I am using the
generated UPDATE command. What am I doing wrong?
Generic Code Snippett
sub : LOADDB
da.fill(ds,"Users")
end sub
sub UpdateDB
messagebox.show(ds.haschanges)
da.update(ds)
end sub
Thanks
Rob
I am currently working with VB .NET and having an issue with updating
an ACCESS DB via ADO.NET.. Any help would be great.
I am using the data object components. (oledbconn, dataAdapter, &
Dataset).. The dataadapter fills the dataset just fine. The data is
bound to several textboxes. My navigation controls work just fine as
well. However whenever I make a change to a textbox field and hit
update the changes are not made to the DB. Ive included a msgbox to
say yeah or nah to changes. It always says false. I am using the
generated UPDATE command. What am I doing wrong?
Generic Code Snippett
sub : LOADDB
da.fill(ds,"Users")
end sub
sub UpdateDB
messagebox.show(ds.haschanges)
da.update(ds)
end sub
Thanks
Rob