Click here to Skip to main content
15,845,598 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can a custom property get it's values form a database? Pin
maryam.saboor18-Feb-08 2:29
professionalmaryam.saboor18-Feb-08 2:29 
GeneralRe: How can a custom property get it's values form a database? Pin
Luc Pattyn18-Feb-08 2:39
sitebuilderLuc Pattyn18-Feb-08 2:39 
Generalprocess Pin
sobhaniir17-Feb-08 21:33
sobhaniir17-Feb-08 21:33 
GeneralRe: process Pin
Giorgi Dalakishvili17-Feb-08 21:56
mentorGiorgi Dalakishvili17-Feb-08 21:56 
GeneralRe: process Pin
sobhaniir18-Feb-08 2:56
sobhaniir18-Feb-08 2:56 
QuestionHow to select rows from Excel file with query? Pin
Noemi Katinka17-Feb-08 21:16
Noemi Katinka17-Feb-08 21:16 
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 
dnyanubhamare wrote:
its ery urgent.


It's amazing how many people have' very urgent' questions, but can't be bothered typing them in to google.

Handle the KeyPressed event. The Char class has static methods like IsChar and IsControl, use these to work out if you set the HAndled property on the eventargs to true, to reject the keypress. Don't forget IsControl, or arrows, delete, etc won't work in your textbox.

Christian Graus - Microsoft MVP - C++

"also I don't think "TranslateOneToTwoBillion OneHundredAndFortySevenMillion FourHundredAndEightyThreeThousand SixHundredAndFortySeven()" is a very good choice for a function name" - SpacixOne ( offering help to someone who really needed it ) ( spaces added for the benefit of people running at < 1280x1024 )

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 
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 

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.