Click here to Skip to main content
15,891,473 members
Home / Discussions / C#
   

C#

 
AnswerRe: How to Allow only numbers for TextBox Pin
wasimsharp24-Jun-08 22:12
wasimsharp24-Jun-08 22:12 
GeneralRe: How to Allow only numbers for TextBox Pin
leppie24-Jun-08 22:16
leppie24-Jun-08 22:16 
GeneralRe: How to Allow only numbers for TextBox Pin
wasimsharp24-Jun-08 22:44
wasimsharp24-Jun-08 22:44 
AnswerRe: How to Allow only numbers for TextBox Pin
User 665824-Jun-08 22:28
User 665824-Jun-08 22:28 
GeneralRe: How to Allow only numbers for TextBox Pin
leppie24-Jun-08 22:37
leppie24-Jun-08 22:37 
GeneralRe: How to Allow only numbers for TextBox Pin
User 665825-Jun-08 0:50
User 665825-Jun-08 0:50 
AnswerRe: How to Allow only numbers for TextBox Pin
Gareth H24-Jun-08 22:43
Gareth H24-Jun-08 22:43 
AnswerRe: How to Allow only numbers for TextBox Pin
Abhijit Jana24-Jun-08 23:01
professionalAbhijit Jana24-Jun-08 23:01 
Just use this

private void textBox1_KeyPress(object sender, KeyPressEventArgs e)<br />
        {<br />
            if (!char.IsDigit(e.KeyChar))<br />
            {<br />
                e.Handled = true;<br />
                MessageBox.Show("Integer numbers only");<br />
            } <br />
        }


Best Regards
-----------------
Abhijit Jana
Check Out My Latest Article

Java.NET : Integration of Java and .NET[^]
"Success is Journey it's not a destination"

AnswerRe: How to Allow only numbers for TextBox Pin
Mbah Dhaim25-Jun-08 4:21
Mbah Dhaim25-Jun-08 4:21 
QuestionCustom validator error: PropertiesValid throws object reference Pin
livez24-Jun-08 21:44
livez24-Jun-08 21:44 
AnswerRe: Custom validator error: PropertiesValid throws object reference Pin
leppie24-Jun-08 22:02
leppie24-Jun-08 22:02 
QuestionHow i can create a wizard dll Pin
wasimsharp24-Jun-08 21:23
wasimsharp24-Jun-08 21:23 
AnswerRe: How i can create a wizard dll Pin
Christian Graus24-Jun-08 21:44
protectorChristian Graus24-Jun-08 21:44 
GeneralRe: How i can create a wizard dll Pin
wasimsharp24-Jun-08 22:49
wasimsharp24-Jun-08 22:49 
Questiondeleting a file from local disk after putting in DB Pin
laziale24-Jun-08 21:18
laziale24-Jun-08 21:18 
AnswerRe: deleting a file from local disk after putting in DB Pin
Giorgi Dalakishvili24-Jun-08 21:23
mentorGiorgi Dalakishvili24-Jun-08 21:23 
AnswerRe: deleting a file from local disk after putting in DB Pin
wasimsharp24-Jun-08 21:24
wasimsharp24-Jun-08 21:24 
GeneralRe: deleting a file from local disk after putting in DB Pin
laziale24-Jun-08 21:36
laziale24-Jun-08 21:36 
GeneralRe: deleting a file from local disk after putting in DB Pin
laziale24-Jun-08 21:56
laziale24-Jun-08 21:56 
GeneralRe: deleting a file from local disk after putting in DB Pin
wasimsharp24-Jun-08 22:30
wasimsharp24-Jun-08 22:30 
GeneralRe: deleting a file from local disk after putting in DB Pin
Giorgi Dalakishvili24-Jun-08 22:00
mentorGiorgi Dalakishvili24-Jun-08 22:00 
AnswerRe: deleting a file from local disk after putting in DB Pin
leppie24-Jun-08 21:57
leppie24-Jun-08 21:57 
Questiondistributed computing?? Pin
Camilo Sanchez24-Jun-08 20:25
Camilo Sanchez24-Jun-08 20:25 
AnswerRe: distributed computing?? Pin
Marek Grzenkowicz24-Jun-08 22:49
Marek Grzenkowicz24-Jun-08 22:49 
GeneralRe: distributed computing?? Pin
Camilo Sanchez25-Jun-08 16:53
Camilo Sanchez25-Jun-08 16:53 

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.