rowsUpdatedは、更新された行数をカウントするint32です。
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
それは私が見過ぎているものだと確信していますが、私はそれを見ることができません。
よろしくお願いします、ジョエル