ok, getting close.
firstly you need to put this code into the for .. next loop
otherwise your only going to update the last row in the grid.
With regards to the post, it's because I don't know what the DAL looks like. so I don't know how you apply the id parameter.
firstly you need to put this code into the for .. next loop
Code:
If intUpdateValue = "1" AndAlso Original_ID > -1 Then
hoursAdapter.UpdateApproveCheckBoxQuery(Original_ID)
End If
otherwise your only going to update the last row in the grid.
With regards to the post, it's because I don't know what the DAL looks like. so I don't know how you apply the id parameter.