Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting string value from enum
Message
De
30/07/2008 07:43:21
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Divers
Thread ID:
01335097
Message ID:
01335203
Vues:
12
>>// Would simply like to do this
>>this.reader.Atrributes.SetTAGTYPE(TagType.EPCC1G2) but this is an int of 6
>>
>>//Would this do it? Ok, it doesn't but what does?
>
>
>this.reader.Atrributes.SetTAGTYPE(TagType.EPCC1G2.ToString());
>
Paul this would work I think if I knew at design time which TagType it actually was. Since i retreive it from the Settings file as a TagType it think I am getting it as an int and thus the problem. I think I found a solution in my last post, but don't know yet.
Thanks
Tim
Timothy Bryan
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform