Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASCII to value
Message
General information
Forum:
ASP.NET
Category:
Coding, syntax and commands
Title:
Miscellaneous
Thread ID:
00981798
Message ID:
00981816
Views:
46
Have you tried the code? If TheKeyValue is 49, this code will get you a "1" in s. If it's not, then could you please post your code, cuz this should work.

~~Bonnie


>>OK, so doesn't what I posted do it for you?
>>
>>string s = ((char)TheKeyValue).ToString();
>>
>
>No, I'm afraid. From the above example, I'd get "49" instead of 1.
>
>Are you familiar with VFP? VFP has a function named CHR(nAnsiCode) that converts a numeric ANSI code to the character corresponding to that code. I'd like the equivalent namespace with such method.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform