Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Enumerate controls
Message
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Enumerate controls
Divers
Thread ID:
00705640
Message ID:
00705640
Vues:
59
how do I enumerate controls on a webform?
'' What doesn't work;
dim ctl as control
for each ctl in ?webform?
    if (type of ctl is textbox) then
        'do something with textboxes
    end if
    if (type of ctl is blah) then
        'do something with blah etc
    end if
next
Thanks in advance,
~Joe Johnston USA

"If ye love wealth better than liberty, the tranquility of servitude better than the animated contest of freedom, go home from us in peace. We ask not your counsel or arms. Crouch down and lick the hands which feed you. May your chains set lightly upon you, and may posterity forget that ye were our countrymen."
~Samuel Adams

Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform