I'm looping through a reader checking various data and am wanting to update it with an ExecuteNonQuery.

The problem I'm facing is that when I try to run the ExecuteNonQuery within the reader loop I get the following error - "There is already an open Datareader associated with this connection which must be closed first".

I know I can't run an ExecuteNonQuery isnide a datareader but what are my alternatives? I'm just wanting to run a very simple update query half way through each while loop pass.