Click here to Skip to main content
15,897,273 members
Home / Discussions / .NET (Core and Framework)
   

.NET (Core and Framework)

 
QuestionMissing .NET configuration tool in win7 Pin
Ming Luo3-Mar-10 20:39
Ming Luo3-Mar-10 20:39 
AnswerRe: Missing .NET configuration tool in win7 Pin
The Man from U.N.C.L.E.5-Mar-10 7:42
The Man from U.N.C.L.E.5-Mar-10 7:42 
QuestionTextbox Validation Pin
akosidandan3-Mar-10 20:35
akosidandan3-Mar-10 20:35 
AnswerRe: Textbox Validation Pin
Manas Bhardwaj3-Mar-10 23:55
professionalManas Bhardwaj3-Mar-10 23:55 
GeneralRe: Textbox Validation Pin
akosidandan4-Mar-10 2:21
akosidandan4-Mar-10 2:21 
GeneralRe: Textbox Validation Pin
Pete O'Hanlon4-Mar-10 2:40
mvePete O'Hanlon4-Mar-10 2:40 
GeneralRe: Textbox Validation Pin
akosidandan4-Mar-10 12:55
akosidandan4-Mar-10 12:55 
GeneralRe: Textbox Validation Pin
Laxman Auti4-Mar-10 20:28
Laxman Auti4-Mar-10 20:28 
I don't believe on restricting user for inputting. rather i will do it as following.

This code will accept user decimal input and after user looses focus of this text box the validation logic will do the stuff for you.

private void textBox1_Validating(object sender, CancelEventArgs e)
{
    decimal result = 0.00M;
    decimal.TryParse(textBox1.Text, out result);
    textBox1.Text = decimal.Round(result, 2).ToString();
}


Let me know if you like this.
wrote:

Knock out 't' from can't,
You can if you think you can
Cool | :cool:

GeneralRe: Textbox Validation Pin
Pete O'Hanlon4-Mar-10 22:05
mvePete O'Hanlon4-Mar-10 22:05 
QuestionCreate an email in .net 3.5 Pin
kpuneeth73-Mar-10 19:40
kpuneeth73-Mar-10 19:40 
AnswerRe: Create an email in .net 3.5 Pin
Richard MacCutchan3-Mar-10 21:24
mveRichard MacCutchan3-Mar-10 21:24 
AnswerRe: Create an email in .net 3.5 Pin
Not Active4-Mar-10 0:18
mentorNot Active4-Mar-10 0:18 
Answer[Cross Post]Re: Create an email in .net 3.5 Pin
Scott Dorman4-Mar-10 4:35
professionalScott Dorman4-Mar-10 4:35 
QuestionHow to watch StringBuilder strings while debugging? Pin
LarsXYZ2-Mar-10 11:45
LarsXYZ2-Mar-10 11:45 
AnswerRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes2-Mar-10 16:28
ProtoBytes2-Mar-10 16:28 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
LarsXYZ3-Mar-10 9:52
LarsXYZ3-Mar-10 9:52 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes3-Mar-10 12:27
ProtoBytes3-Mar-10 12:27 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
LarsXYZ4-Mar-10 1:28
LarsXYZ4-Mar-10 1:28 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes4-Mar-10 14:36
ProtoBytes4-Mar-10 14:36 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
LarsXYZ7-Mar-10 5:24
LarsXYZ7-Mar-10 5:24 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
ProtoBytes7-Mar-10 10:30
ProtoBytes7-Mar-10 10:30 
GeneralRe: How to watch StringBuilder strings while debugging? Pin
Sebastian Br.4-Mar-10 21:54
Sebastian Br.4-Mar-10 21:54 
AnswerRe: How to watch StringBuilder strings while debugging? Pin
Ennis Ray Lynch, Jr.3-Mar-10 10:01
Ennis Ray Lynch, Jr.3-Mar-10 10:01 
QuestionHow to convert non ATl project to ATL compatible [Moved to C/C++/MFC] Pin
cantonin2-Mar-10 5:06
cantonin2-Mar-10 5:06 
AnswerRe: How to convert non ATl project to ATL compatible Pin
Dave Kreskowiak2-Mar-10 7:44
mveDave Kreskowiak2-Mar-10 7:44 

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.