Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Getting string value from enum
Message
From
30/07/2008 07:43:21
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Miscellaneous
Thread ID:
01335097
Message ID:
01335203
Views:
14
>>// 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
Previous
Reply
Map
View

Click here to load this message in the networking platform