|
-
Oct 16th, 2004, 03:08 AM
#1
Thread Starter
Junior Member
update database from dataset
Hi,
I am binding a dataset to the datagrid. In the datagrid, i am editing a record. My table doesn't have primary key. I think commandbuilder doesn't work becoz of no primary key. Pls tell me how to update the database from the dataset using the dataadapter. I am using Access database.
private sub btnupdate_click(...)
if ds.haschanges then
da.update(ds.tables("Customer")
endif
end sub
Thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|