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.