'Ds.main.Rows(searchIP.Text)("NOTES") = searchNotes.Text 'Ds.main.Rows(searchIP.Text)("USR") = searchUser.Text 'Ds.main.Rows(searchIP.Text)("RESERVED") = searchReserved.Checked 'Ds.main.Rows(searchIP.Text)("ALIVE") = searchAlive.Checked 'Ds.main.Rows(searchIP.Text)("VLAN") = searchVLAN.Text 'Ds.main.Rows(searchIP.Text)("SUBNET") = searchSubnet.Text 'Ds.main.Rows(searchIP.Text)("HOSTNAME") = searchHost.Text 'Ds.main.Rows(searchIP.Text)("IP") = searchIP.Text any help you guys could provide in pointing me in the right direction would be helpful. Here's my code for the "save" function, which is supposed to update the DB record based on values in textboxes on the form.Īs you can see from the code below I've tried a few different methods of updating, but none seem to work. For some reason it won't let me update all of the column values except for the PK. I am trying to update records in a SQL DB from a VB.NET WF app and the tableadapter.update() command isn't working.Īt least part of the problem I'm having is errors with the primary key.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |