Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get all the lables
Message
De
20/12/2006 22:04:11
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
How to get all the lables
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Divers
Thread ID:
01179415
Message ID:
01179415
Vues:
57
Hi all,

How could I get all the labels in the webform? I have tried the following but I couln't get any label, am I missing out something? Any advice would be appreciated, thanks.
For Each lblControl As Control In Me.Form.Controls
    If TypeOf lblControl Is Label Then
       ' Do something
    End If
Next
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform