Click here to Skip to main content
16,006,065 members
Home / Discussions / C#
   

C#

 
Questionpowershell scripts Pin
winsane5-Oct-07 6:02
winsane5-Oct-07 6:02 
QuestionProblem with columns in DataGridView Pin
Knoen5-Oct-07 5:07
Knoen5-Oct-07 5:07 
AnswerRe: Problem with columns in DataGridView Pin
led mike5-Oct-07 5:45
led mike5-Oct-07 5:45 
GeneralRe: Problem with columns in DataGridView Pin
Knoen5-Oct-07 5:47
Knoen5-Oct-07 5:47 
GeneralRe: Problem with columns in DataGridView Pin
led mike5-Oct-07 6:15
led mike5-Oct-07 6:15 
GeneralRe: Problem with columns in DataGridView Pin
Knoen5-Oct-07 6:24
Knoen5-Oct-07 6:24 
Questiontextbox check Pin
NewToAspDotNet5-Oct-07 4:29
NewToAspDotNet5-Oct-07 4:29 
AnswerRe: textbox check Pin
Matthew Cuba5-Oct-07 4:47
Matthew Cuba5-Oct-07 4:47 
Djavid j wrote:
I have a textbox. how can i avoid that a user types strings in it, bud only decimal values?


MaskedTextBox could be used, or you could handle the Key events (KeyDown, KeyPress, KeyUp) and look at what was typed there, only allowing characters that pass your criteria through.

There may be other ways.

Good Luck!

It isn't enough to do well in life.
One must do good when and where one can.
Otherwise, what's the point?

AnswerRe: textbox check Pin
PIEBALDconsult5-Oct-07 4:53
mvePIEBALDconsult5-Oct-07 4:53 
AnswerRe: textbox check Pin
Peter Vertes5-Oct-07 5:04
Peter Vertes5-Oct-07 5:04 
AnswerRe: textbox check Pin
Ajay.k_Singh5-Oct-07 5:21
Ajay.k_Singh5-Oct-07 5:21 
Question"Anti-Grain Geometry" question Pin
Richard Blythe5-Oct-07 4:18
Richard Blythe5-Oct-07 4:18 
AnswerRe: "Anti-Grain Geometry" question Pin
Dave Kreskowiak5-Oct-07 8:30
mveDave Kreskowiak5-Oct-07 8:30 
QuestionHow do i.... Pin
MMaines20055-Oct-07 4:07
MMaines20055-Oct-07 4:07 
AnswerRe: How do i.... Pin
leckey5-Oct-07 4:15
leckey5-Oct-07 4:15 
AnswerRe: How do i.... Pin
Matthew Cuba5-Oct-07 4:26
Matthew Cuba5-Oct-07 4:26 
AnswerRe: How do i.... Pin
martin_hughes5-Oct-07 4:51
martin_hughes5-Oct-07 4:51 
Questiondateandtime issue Pin
NewToAspDotNet5-Oct-07 4:05
NewToAspDotNet5-Oct-07 4:05 
AnswerRe: dateandtime issue Pin
Pete O'Hanlon5-Oct-07 4:40
mvePete O'Hanlon5-Oct-07 4:40 
AnswerRe: dateandtime issue Pin
PIEBALDconsult5-Oct-07 4:56
mvePIEBALDconsult5-Oct-07 4:56 
AnswerRe: dateandtime issue Pin
Peter Vertes5-Oct-07 5:07
Peter Vertes5-Oct-07 5:07 
QuestionPicturebox Pin
DanSteeve5-Oct-07 3:27
DanSteeve5-Oct-07 3:27 
AnswerRe: Picturebox Pin
Justin Perez5-Oct-07 3:30
Justin Perez5-Oct-07 3:30 
AnswerRe: Picturebox Pin
Matthew Cuba5-Oct-07 3:38
Matthew Cuba5-Oct-07 3:38 
QuestionDrag doc file into textbox c# Pin
MUNISH RATHORE5-Oct-07 3:22
MUNISH RATHORE5-Oct-07 3:22 

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.