I insert new parent row and child rowstate changes from Added to unchanged
Posted
by Joel
on Stack Overflow
See other posts from Stack Overflow
or by Joel
Published on 2010-06-08T18:58:59Z
Indexed on
2010/06/08
19:02 UTC
Read the original article
Hit count: 216
rowsUpdated is an int32 to count how many rows are updated
rowsToUpdate = dataset.ParentTable.Select("", "", dataviewRowState.Added)
if rowsToUpdate isNot Nothing then
for each row as datarow in RowsToUpdate
changes the rowstate: rowsUpdated = rowsUpdated + ParentTableAdapter.update(row)
Next row
End if
I'm sure it's something I'm over looking but I just can't see it.
Thanks in advance, Joel
© Stack Overflow or respective owner