Check the column and update the datatable

You can simply use for each loop @cbhavana

Inside for each loop check if Exception column is AR or BR then do the certain steps.

For updating the rows check the below threads.