C# .NET - where do I know value matching e.KeyChar ?

Asked By MJ L on 21-Jan-10 11:10 PM
is it ascii code?

I knew 13 is Enter key.

where do I see KeyChar value Table?

Generate them - Kalit Sikka replied to MJ L on 21-Jan-10 11:34 PM

Generate them for yourself

for(int i=1; i<=255; i++)
char cs=(char) i;
Response.Write(i.ToString() + "--");
Response.Write(cs.ToString() + "<br>");

re - Santhosh N replied to MJ L on 21-Jan-10 11:39 PM

you can find the whole list from http://msdn.microsoft.com/en-us/library/system.windows.forms.keys.aspx and http://www.experts-exchange.com/Programming/Languages/.NET/Q_24688238.html as well

thank you everyone - MJ L replied to Santhosh N on 21-Jan-10 11:54 PM

thanks your kindness
Google for "ascii table" - SP replied to MJ L on 22-Jan-10 01:09 AM
Just google with the text "ascii table".

You will get lots of ascii tables with proper values.

Here is one of them... www.asciitable.com

Hope this helps.
cheers!! - Santhosh N replied to MJ L on 22-Jan-10 07:59 AM
end of post