I am working on an ASP.NET site. My site has a complex model for the state of the controls depending on the status the record is in. I have multiple AD groups linked to the respective status that they can access. I am adding another layer to the linker table which will store an ID of a linker table that holds the Control and the state. From code how can I enable,disable and readonly the control without building a huge case statement which contains every control name. Is there a class model i can use that will take the name of the control and the state i want the control to be in from the db?