Click here to Skip to main content
16,016,570 members
Home / Discussions / C#
   

C#

 
GeneralRe: multi-threading in c# Pin
lord_laurent_r1-Feb-10 2:37
lord_laurent_r1-Feb-10 2:37 
GeneralRe: multi-threading in c# Pin
Luc Pattyn1-Feb-10 2:52
sitebuilderLuc Pattyn1-Feb-10 2:52 
GeneralRe: multi-threading in c# Pin
lord_laurent_r1-Feb-10 5:01
lord_laurent_r1-Feb-10 5:01 
QuestionControl derived from Listbox not drawing properly Pin
Russell Jones28-Jan-10 6:19
Russell Jones28-Jan-10 6:19 
AnswerRe: Control derived from Listbox not drawing properly Pin
Saksida Bojan28-Jan-10 7:54
Saksida Bojan28-Jan-10 7:54 
GeneralRe: Control derived from Listbox not drawing properly Pin
Russell Jones28-Jan-10 8:23
Russell Jones28-Jan-10 8:23 
GeneralRe: Control derived from Listbox not drawing properly Pin
Saksida Bojan28-Jan-10 8:28
Saksida Bojan28-Jan-10 8:28 
QuestionHow to handle Enter key... Pin
mukundkallapur28-Jan-10 5:33
mukundkallapur28-Jan-10 5:33 
Please go through...

class Test
{

Console.WriteLine("1:Add\n2:Sub\n3:Mult:\n4:Div");
Console.WriteLine();
Console.WriteLine("Press 9 to Exit or Enter to Continue ");

string s=Console.ReadLine();

....

}

My query is that when I enter the "ENTER" key, it does go ahead but it also does the same for the other keys except 9, for which it exits from the Program.

Hope so I will get a solution
AnswerRe: How to handle Enter key... Pin
OriginalGriff28-Jan-10 5:43
mveOriginalGriff28-Jan-10 5:43 
AnswerRe: How to handle Enter key... Pin
Alex Manolescu28-Jan-10 8:16
Alex Manolescu28-Jan-10 8:16 
QuestionGetting info from database in gridview Pin
Bizcrack28-Jan-10 4:03
Bizcrack28-Jan-10 4:03 
AnswerRe: Getting info from database in gridview Pin
loyal ginger28-Jan-10 4:14
loyal ginger28-Jan-10 4:14 
AnswerRe: Getting info from database in gridview Pin
kevinnicol28-Jan-10 4:42
kevinnicol28-Jan-10 4:42 
GeneralRe: Getting info from database in gridview Pin
OriginalGriff28-Jan-10 5:12
mveOriginalGriff28-Jan-10 5:12 
GeneralRe: Getting info from database in gridview Pin
dan!sh 28-Jan-10 5:48
professional dan!sh 28-Jan-10 5:48 
AnswerRe: Getting info from database in gridview Pin
dan!sh 28-Jan-10 5:46
professional dan!sh 28-Jan-10 5:46 
GeneralRe: Getting info from database in gridview Pin
Bizcrack28-Jan-10 8:51
Bizcrack28-Jan-10 8:51 
AnswerRe: Getting info from database in gridview Pin
Mycroft Holmes28-Jan-10 12:18
professionalMycroft Holmes28-Jan-10 12:18 
AnswerRe: Getting info from database in gridview Pin
yokzie29-Jan-10 20:13
yokzie29-Jan-10 20:13 
Questionaccess database and c# form-adding data Pin
johnnysmith128-Jan-10 2:15
johnnysmith128-Jan-10 2:15 
AnswerRe: access database and c# form-adding data Pin
EliottA28-Jan-10 2:44
EliottA28-Jan-10 2:44 
GeneralRe: access database and c# form-adding data Pin
johnnysmith128-Jan-10 2:57
johnnysmith128-Jan-10 2:57 
QuestionMessage Removed Pin
28-Jan-10 1:08
nercan28-Jan-10 1:08 
AnswerRe: .NET Remoting Customization Made Easy: Custom Sinks Problem Pin
OriginalGriff28-Jan-10 1:35
mveOriginalGriff28-Jan-10 1:35 
QuestionForm issue. Pin
spankyleo12328-Jan-10 0:27
spankyleo12328-Jan-10 0:27 

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.