I have a gridview which contains checkboxes and fields in sql server database which has datatype bit.
If the value in database table is set to 1 then the checkbox in the gridview should be checked and disabled otherwise it should be unchecked and enabled.
This should happen at the time of databind. How to achive this task?
1 Answer