Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to check if a check box is checked
Message
De
24/01/2005 12:04:33
 
 
À
24/01/2005 11:58:37
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00980046
Message ID:
00980058
Vues:
36
Oops - sorry, I'm replying to the wrong category!

>this.chkMyCheckBox.Value = .T. (or 1 - depending on how it's set up)
>
>Turloch
>
>>Hi.
>>
>>I have a checkbox control on a form and want to test if it is checked or not
>>
>>How do I do this ?
>>
>>Something like :
>>if (this.chkMyCheckBox.text = true)
>> {MessagBox.Show("CheckBox ix checked";}
>>
>>if (this.chkMyCheckBox.text != true)
>> {MessagBox.Show("CheckBox is NOT checked";}
>>
>>Any help appreciated.
>>Regards,
>>Gerard
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform