Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASCII to value
Message
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Titre:
Divers
Thread ID:
00981798
Message ID:
00981808
Vues:
40
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform