Using CheckBoxFields
A CheckBoxField
, as you can probably guess, displays a check box. When a row is not in edit mode, the check box displays but is disabled.
The page in Listing 11.19 illustrates how you can use a CheckBoxField
(see Figure 11.14).
Figure 11.14. Using the CheckBoxField
with the GridView
control.
Listing 11.19. ShowCheckBoxField.aspx
The CheckBoxField
inherits from the BoundField
class, so it includes all the properties of the ...
Get ASP.NET 4 Unleashed now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.