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:
00981816
Vues:
44
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform