G
Guest
I'm getting there......
I can update using and oledbdataadapter by calling the
dataadapter1.update(rset) command, but i don't know how to call the delete or
insert
give that the key is correct here is what i have for delete so far:
(datagrid delete event sub)
Dim key As String = dgOrders.DataKeys(e.Item.ItemIndex).ToString()
Dim r As dsOrders.hedRow
r = DsOrders1.hed.FindByhedID(key)
OleDbDataAdapter1.Update(DsOrders1) '<---delete??? how?
........ bind, and, ...
(end sub)
dsOrders is a dataset with a table hed,
OleDbDataAdapter1 is the object created with VS.net
thanks
kes
I can update using and oledbdataadapter by calling the
dataadapter1.update(rset) command, but i don't know how to call the delete or
insert
give that the key is correct here is what i have for delete so far:
(datagrid delete event sub)
Dim key As String = dgOrders.DataKeys(e.Item.ItemIndex).ToString()
Dim r As dsOrders.hedRow
r = DsOrders1.hed.FindByhedID(key)
OleDbDataAdapter1.Update(DsOrders1) '<---delete??? how?
........ bind, and, ...
(end sub)
dsOrders is a dataset with a table hed,
OleDbDataAdapter1 is the object created with VS.net
thanks
kes