I have a gridview table that are filled with a sql database. I also have a small image button of a pencil to signify "edit"
I would like to hide the edit button on some rows depedning on the value of the field
It is a time management system where users edit their overtime, if the status is "new" then they can edit, but if its "submitted" then I would like to hide the edit button but since its row dependant where can I do that?
CommandArgument='<%# Eval("OvertimeID") %>'