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:
00981808
Views:
42
OK, so doesn't what I posted do it for you?
string s = ((char)TheKeyValue).ToString();
~~Bonnie


>>Dawa,
>>
>>Do you want a character or a string?
>>
>>Character:
>>
>>char c = (char)49;
>>
>>String:
>>
>>string s = ((char)49).ToString();
>>
>
>Sorry, I didn't express myself well.
>
>What I want is to get character value from raw key value.
>For example, if I press "1" key, the key value is 49. I'd like to get "1" from that key value.
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