Click here to Skip to main content
15,909,546 members
Home / Discussions / C#
   

C#

 
GeneralRe: How can a custom property get it's values form a database? Pin
maryam.saboor18-Feb-08 1:29
professionalmaryam.saboor18-Feb-08 1:29 
GeneralRe: How can a custom property get it's values form a database? Pin
Luc Pattyn18-Feb-08 1:39
sitebuilderLuc Pattyn18-Feb-08 1:39 
Generalprocess Pin
sobhaniir17-Feb-08 20:33
sobhaniir17-Feb-08 20:33 
GeneralRe: process Pin
Giorgi Dalakishvili17-Feb-08 20:56
mentorGiorgi Dalakishvili17-Feb-08 20:56 
GeneralRe: process Pin
sobhaniir18-Feb-08 1:56
sobhaniir18-Feb-08 1:56 
QuestionHow to select rows from Excel file with query? Pin
Noemi Katinka17-Feb-08 20:16
Noemi Katinka17-Feb-08 20:16 
QuestionHow to handle keypressevent Pin
dnyanubhamare17-Feb-08 19:17
dnyanubhamare17-Feb-08 19:17 
AnswerRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 19:23
protectorChristian Graus17-Feb-08 19: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 19:53
Ravenet17-Feb-08 19:53 
GeneralRe: How to handle keypressevent Pin
Xmen Real 17-Feb-08 20:40
professional Xmen Real 17-Feb-08 20:40 
GeneralRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 22:04
protectorChristian Graus17-Feb-08 22:04 
GeneralRe: How to handle keypressevent Pin
Xmen Real 17-Feb-08 22:39
professional Xmen Real 17-Feb-08 22:39 
GeneralRe: How to handle keypressevent Pin
Christian Graus17-Feb-08 22:03
protectorChristian Graus17-Feb-08 22:03 
GeneralRe: How to handle keypressevent Pin
Pete O'Hanlon17-Feb-08 23:01
mvePete O'Hanlon17-Feb-08 23:01 
GeneralRe: How to handle keypressevent Pin
Ravenet17-Feb-08 23:04
Ravenet17-Feb-08 23:04 
GeneralRe: How to handle keypressevent Pin
J4amieC18-Feb-08 0:31
J4amieC18-Feb-08 0:31 
GeneralRe: How to handle keypressevent Pin
Ravenet18-Feb-08 1:23
Ravenet18-Feb-08 1:23 
Questionhow to get no Pin
sugunavathy17-Feb-08 18:13
sugunavathy17-Feb-08 18:13 
AnswerRe: how to get no Pin
Christian Graus17-Feb-08 18:22
protectorChristian Graus17-Feb-08 18:22 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 18:34
sugunavathy17-Feb-08 18:34 
GeneralRe: how to get no Pin
Christian Graus17-Feb-08 18:35
protectorChristian Graus17-Feb-08 18:35 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 19:00
sugunavathy17-Feb-08 19:00 
GeneralRe: how to get no Pin
Christian Graus17-Feb-08 19:09
protectorChristian Graus17-Feb-08 19:09 
GeneralRe: how to get no Pin
sugunavathy17-Feb-08 22:02
sugunavathy17-Feb-08 22:02 
Questionblocking the sql server 2000 Pin
Sonia Gupta17-Feb-08 18:06
Sonia Gupta17-Feb-08 18: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.