ASP.NET CheckBox TextPropiedad
Control CheckBox
Definición y uso
La propiedad Text se utiliza para establecer o devolver el texto del control CheckBox.
Sintaxis
<asp:CheckBox Text="string" runat="server" />
| Propiedad | Descripción |
|---|---|
| string | Valor de cadena que especifica el texto del control CheckBox. |
Ejemplo
El siguiente ejemplo establece el texto en el control CheckBox:
<form runat="server">
<asp:CheckBox id="check1"
runat="server" Text="Make it so" />
</form>
<asp:CheckBox id="check1"
runat="server" Text="Make it so" />
</form>
Ver ejemplo »
Control CheckBox Otras extensiones