Get char from keycode
ASP.NET
2
Posts
2
Posters
0
Views
1
Watching
-
I have the KeyPress event, I want to get char (alphabe) through key code. I'm in dark. Please help me, thanks.
At least, there are two options come to mind: + Once you get the key code, you can open the Ascii code table in MSDN, and look up the character of that code in there :laugh: + Enumerate the characters in the array, then go through the list to see which character has the code that you are looking for.