I think this should work.. just replace the 0 and 1 with columns your checking(and changing). If your still having problems.. then let me know and I will actually test the code in a datagrid.. and see what I come up with
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.