Click here to Skip to main content
15,912,756 members
Home / Discussions / C#
   

C#

 
GeneralRe: Is it possible to share Session Variables across multiple threads? Pin
Christian Graus7-Jan-07 12:12
protectorChristian Graus7-Jan-07 12:12 
GeneralRe: Is it possible to share Session Variables across multiple threads? Pin
Guffa7-Jan-07 12:47
Guffa7-Jan-07 12:47 
AnswerRe: Is it possible to share Session Variables across multiple threads? Pin
Guffa7-Jan-07 12:02
Guffa7-Jan-07 12:02 
QuestionMFC to C#, form changing Pin
muharrem7-Jan-07 9:07
muharrem7-Jan-07 9:07 
AnswerRe: MFC to C#, form changing [modified] Pin
Mircea Puiu7-Jan-07 20:50
Mircea Puiu7-Jan-07 20:50 
QuestionTextBox problem Pin
CodeItWell7-Jan-07 8:34
CodeItWell7-Jan-07 8:34 
AnswerRe: TextBox problem Pin
Ed.Poore7-Jan-07 8:36
Ed.Poore7-Jan-07 8:36 
AnswerRe: TextBox problem Pin
tgrt7-Jan-07 15:46
tgrt7-Jan-07 15:46 
... And when you use the KeyPress event, you can get the character from the KeyPressEventArgs which with a default event handler is named e. That object has a property named KeyChar that contains the Char that was typed. Therefore, this code should prevent non-decimal data entry.

private void KeyPressed(Object o, KeyPressEventArgs e)<br />
{<br />
   // mark Handled = true to cancel the output<br />
   e.Handled = (!char.IsDigit(e.KeyChar));<br />
}

AnswerRe: TextBox problem Pin
Tyler457-Jan-07 18:23
Tyler457-Jan-07 18:23 
GeneralRe: TextBox problem Pin
Martin#7-Jan-07 19:51
Martin#7-Jan-07 19:51 
GeneralRe: TextBox problem Pin
CodeItWell8-Jan-07 0:52
CodeItWell8-Jan-07 0:52 
GeneralRe: TextBox problem Pin
Martin#8-Jan-07 1:08
Martin#8-Jan-07 1:08 
GeneralRe: TextBox problem Pin
Martin#8-Jan-07 1:10
Martin#8-Jan-07 1:10 
QuestionO/R mapper LLBLGen Pro or do you know better alternative in .NET? Pin
cebyrjoe27-Jan-07 7:36
cebyrjoe27-Jan-07 7:36 
AnswerRe: O/R mapper LLBLGen Pro or do you know better alternative in .NET? Pin
WillemM7-Jan-07 7:39
WillemM7-Jan-07 7:39 
GeneralRe: O/R mapper LLBLGen Pro or do you know better alternative in .NET? Pin
Larantz7-Jan-07 10:36
Larantz7-Jan-07 10:36 
AnswerRe: O/R mapper LLBLGen Pro or do you know better alternative in .NET? Pin
Pete O'Hanlon7-Jan-07 9:28
mvePete O'Hanlon7-Jan-07 9:28 
QuestionSquare root Pin
CodeItWell7-Jan-07 7:18
CodeItWell7-Jan-07 7:18 
AnswerRe: Square root Pin
Vega027-Jan-07 7:23
Vega027-Jan-07 7:23 
AnswerRe: Square root Pin
Larantz7-Jan-07 10:47
Larantz7-Jan-07 10:47 
QuestionCOMMMMMMMMMMM Port?????????????? Pin
sajid.salim.khan7-Jan-07 6:06
sajid.salim.khan7-Jan-07 6:06 
AnswerRe: COMMMMMMMMMMM Port?????????????? Pin
CPallini7-Jan-07 7:15
mveCPallini7-Jan-07 7:15 
AnswerRe: COMMMMMMMMMMM Port?????????????? Pin
Mircea Puiu7-Jan-07 21:07
Mircea Puiu7-Jan-07 21:07 
GeneralRe: COMMMMMMMMMMM Port?????????????? Pin
Rudolf Jan8-Jan-07 0:29
Rudolf Jan8-Jan-07 0:29 
QuestionTrimming string after a specified character Pin
teejayem7-Jan-07 5:38
teejayem7-Jan-07 5:38 

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.