Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Declaring an object based on variable value
Message
De
20/01/2005 14:49:31
 
 
À
Tous
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Declaring an object based on variable value
Versions des environnements
Environment:
ASP.NET
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00979018
Message ID:
00979018
Vues:
39
in VFP, we can do like this :

lcTEXT = "TEXTBOX"
loOBJ = createobject(lcTEXT)

in ASP.NET, I want to do the same

Dim lcTEXT As String = "TEXTBOX"
Dim loOBJ As New (lcTEXT)

I know this won't work. Is there any other way to do this?

Thanks..
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform