views:

76

answers:

0

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