Click here to Skip to main content
15,844,752 members
Home / Discussions / C#
   

C#

 
QuestionHow to handle keypressevent Pin
dnyanubhamare17-Feb-08 20:17
dnyanubhamare17-Feb-08 20:17 
AnswerRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 20:23
protectorChristian Graus17-Feb-08 20:23 
AnswerRe: How to handle keypressevent Pin
Ravenet17-Feb-08 20:53
Ravenet17-Feb-08 20:53 
GeneralRe: How to handle keypressevent Pin
Xmen Real 17-Feb-08 21:40
professional Xmen Real 17-Feb-08 21:40 
GeneralRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 23:04
protectorChristian Graus17-Feb-08 23:04 
GeneralRe: How to handle keypressevent Pin
Xmen Real 17-Feb-08 23:39
professional Xmen Real 17-Feb-08 23:39 
GeneralRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 23:03
protectorChristian Graus17-Feb-08 23:03 
GeneralRe: How to handle keypressevent Pin
Pete O'Hanlon18-Feb-08 0:01
subeditorPete O'Hanlon18-Feb-08 0:01 
Ravenet wrote:
very easy man
when you press key , just check ur keypressEventArhs e value.

e.keycode==47----->57

same like other character ascii value also.


Please don't do this as this is really bad practice - you're limiting yourself to targeting ASCII here, plus you have to take care of both Upper and Lower case characters. .NET provides things like Char.IsLetter for a reason.


Deja View - the feeling that you've seen this post before.

My blog | My articles



GeneralRe: How to handle keypressevent Pin
Ravenet18-Feb-08 0:04
Ravenet18-Feb-08 0:04 
GeneralRe: How to handle keypressevent Pin
J4amieC18-Feb-08 1:31
J4amieC18-Feb-08 1:31 
GeneralRe: How to handle keypressevent Pin
Ravenet18-Feb-08 2:23
Ravenet18-Feb-08 2:23 
Questionhow to get no Pin
sugunavathy17-Feb-08 19:13
sugunavathy17-Feb-08 19:13 
AnswerRe: how to get no Pin
Christian Graus17-Feb-08 19:22
protectorChristian Graus17-Feb-08 19:22 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 19:34
sugunavathy17-Feb-08 19:34 
GeneralRe: how to get no Pin
Christian Graus17-Feb-08 19:35
protectorChristian Graus17-Feb-08 19:35 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 20:00
sugunavathy17-Feb-08 20:00 
GeneralRe: how to get no Pin
Christian Graus17-Feb-08 20:09
protectorChristian Graus17-Feb-08 20:09 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 23:02
sugunavathy17-Feb-08 23:02 
Questionblocking the sql server 2000 Pin
Sonia Gupta17-Feb-08 19:06
Sonia Gupta17-Feb-08 19:06 
GeneralRe: blocking the sql server 2000 Pin
Vikram A Punathambekar17-Feb-08 19:17
Vikram A Punathambekar17-Feb-08 19:17 
GeneralRe: blocking the sql server 2000 Pin
Christian Graus17-Feb-08 19:38
protectorChristian Graus17-Feb-08 19:38 
GeneralRe: blocking the sql server 2000 Pin
Xmen Real 17-Feb-08 20:11
professional Xmen Real 17-Feb-08 20:11 
GeneralRe: blocking the sql server 2000 Pin
Christian Graus17-Feb-08 20:24
protectorChristian Graus17-Feb-08 20:24 
GeneralRe: blocking the sql server 2000 Pin
Xmen Real 17-Feb-08 20:29
professional Xmen Real 17-Feb-08 20:29 
GeneralRe: blocking the sql server 2000 Pin
N a v a n e e t h17-Feb-08 22:54
N a v a n e e t h17-Feb-08 22:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.