Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Variable evaluation
Message
De
17/09/2004 14:51:29
Keith Payne
Technical Marketing Solutions
Floride, États-Unis
 
 
À
17/09/2004 12:15:46
Wilfred Chan
Bnp Paribas Hong Kong Branch
Hong Kong, Hong Kong
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00943465
Message ID:
00943579
Vues:
15
>Hi All,
>
>I would like to perform run-time coding such as:
>s1 = "testing"
>s2 = "s1"
>s3 = evaluate(s2)
>
>Then, s3 will become "testing".
>
>Is it possible to do this in VB.NET or VB6?
>
>Many thanks, Wilfred

Yes. Check out the System.Reflection namespace. I think the method you want to use is called GetProperty, but I'm not 100% certain and I'm away from the help files ATM.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform