G
Guest
I'm learning VB.NET and am trying to code a simple form to read and update an
Access Database. I can connect to the database, read a row into a
dataset/table and bind it to textboxes on a form. But I can't get any
changes to the textboxes to update the original Access Database. I've have
read two books, I have looked at all the code samples and tried to emulate
them for my table but nothing works. I've tried the wizards.... I've tried
code... nada... I don't get any errors. Just nothing gets updated. So
given this table in an Access database
CUSTOMERS
CUSTID Char(6)
CUSTNAME Char(30)
how can I read a single row into a dataset (WHERE CUSTID = '000001'), bind
the fields to texboxes, and take any changes to the texboxes and update the
corresponding row in Access Table again. I don't even have to use
parameterized queiries.
What code would you use to do this.
Access Database. I can connect to the database, read a row into a
dataset/table and bind it to textboxes on a form. But I can't get any
changes to the textboxes to update the original Access Database. I've have
read two books, I have looked at all the code samples and tried to emulate
them for my table but nothing works. I've tried the wizards.... I've tried
code... nada... I don't get any errors. Just nothing gets updated. So
given this table in an Access database
CUSTOMERS
CUSTID Char(6)
CUSTNAME Char(30)
how can I read a single row into a dataset (WHERE CUSTID = '000001'), bind
the fields to texboxes, and take any changes to the texboxes and update the
corresponding row in Access Table again. I don't even have to use
parameterized queiries.
What code would you use to do this.