I have a GridView displaying person records. I want to conditionally show a CommandField or ButtonField based on some property of the underlying record. The idea is to only allow a command to be performed on specific people.
What is the best way to do this? I'd prefer a declarative solution to a procedural one.