I have a Gridview (connected to a Datasource), in the first column is a flag which is either a 1 or a 0. I want to add a column with a button.
If the flag in column one = 1 then the button should say 'Hide', if the flag is 0 it should say 'Show'.
I need it to do this for all rows in the gridview
Can someone give me some pointers? Thanks