Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VB.net - Macro Substitution
Message
De
10/01/2011 12:22:29
 
 
À
10/01/2011 12:02:37
Information générale
Forum:
ASP.NET
Catégorie:
LINQ
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01488984
Message ID:
01495452
Vues:
73
>Nop - it's not too late.
>
>And yes it does make sense.
>
>Thank you again for all your help.
>
>I got my first additional step working already - to asign the vairable permission values based on the current users AD groups.
>
>I am still trying to figure out how i can create the enum structure dynamicly. Research suggest it is not recomendet to do so. That they are more like a constants and need to be compiled at design time. However, I found one solution on the net i am going to try:
>http://stackoverflow.com/questions/725043/dynamic-enum-in-c the second to last entry there.

Not sure how that would help. True, it will create an enum structure on the fly. But you can't make real use of it unless you know the valid enum values to start with (e.g. Apple, Banana etc) - in which case why not create the enum manually in the first place. But maybe I'm missing something......
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform