Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Using TypeOf in a Select Case
Message
De
11/12/2012 09:06:36
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Using TypeOf in a Select Case
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01559289
Message ID:
01559289
Vues:
79
Thread #1559234 discusses a better approach to determine the type of a HTML control. I have been wondering if such approach can be used in a Select Case.
                            ' Based on the control
                            Select Case loControl.GetType().ToString

                                ' Textbox
                                Case "System.Web.UI.WebControls.TextBox"
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform