Click here to Skip to main content
15,927,699 members
Home / Discussions / C#
   

C#

 
AnswerRe: Surrounding cities functionality Pin
Colin Angus Mackay27-Nov-07 14:08
Colin Angus Mackay27-Nov-07 14:08 
QuestionProgram Complete Pin
MasterSharp27-Nov-07 13:18
MasterSharp27-Nov-07 13:18 
AnswerRe: Program Complete Pin
Christian Graus27-Nov-07 19:15
protectorChristian Graus27-Nov-07 19:15 
QuestionC# Factory Pattern Pin
Jeffrey Walton27-Nov-07 12:47
Jeffrey Walton27-Nov-07 12:47 
AnswerRe: C# Factory Pattern Pin
martin_hughes27-Nov-07 13:43
martin_hughes27-Nov-07 13:43 
GeneralRe: C# Factory Pattern Pin
Jeffrey Walton27-Nov-07 14:50
Jeffrey Walton27-Nov-07 14:50 
GeneralRe: C# Factory Pattern Pin
martin_hughes28-Nov-07 3:19
martin_hughes28-Nov-07 3:19 
QuestionSimple question about ending loops Pin
falles0127-Nov-07 12:25
falles0127-Nov-07 12:25 
I have a problem where I've got a large amount of nested if statements.
they were all working and executing the correct numbe of times until I added some loops at the start.

The debugger is showing that it executes the first section and then starts again without going to the next condition. I know I have to change the condition maybe. This is the first section that gets executed continuously. Obviously there will always be rows, but the rest of conditions say, if checkedbox is ticked, or combobox is selected bla bla, so I can't see why (if I select a combobox item and click search, it is not executing). Is there a way of telling the code that you want to end the loop after all the entries in the database have been covered? Make sense?

foreach (DataRow row in dsapps.Tables[0].Rows)<br />
                {<br />
<br />
                    if (row["EmployeeID"].ToString().Equals(EmployeeID.ToString()) == false)<br />
                    {<br />
                        if (EmployeeID > 0)

AnswerRe: Simple question about ending loops Pin
martin_hughes27-Nov-07 12:39
martin_hughes27-Nov-07 12:39 
GeneralRe: Simple question about ending loops Pin
falles0127-Nov-07 12:44
falles0127-Nov-07 12:44 
GeneralRe: Simple question about ending loops Pin
Colin Angus Mackay27-Nov-07 14:14
Colin Angus Mackay27-Nov-07 14:14 
GeneralRe: Simple question about ending loops Pin
martin_hughes27-Nov-07 14:52
martin_hughes27-Nov-07 14:52 
QuestionAutomatically generate Release Notes from code Pin
kozu27-Nov-07 10:31
kozu27-Nov-07 10:31 
AnswerCross post. Please ignore this thread. Pin
Pete O'Hanlon27-Nov-07 10:56
mvePete O'Hanlon27-Nov-07 10:56 
JokeRe: Cross post. Please ignore this thread. Pin
Paul Conrad27-Nov-07 12:23
professionalPaul Conrad27-Nov-07 12:23 
Questionpopulating a listview from another class Pin
kenwen27-Nov-07 9:55
kenwen27-Nov-07 9:55 
AnswerRe: populating a listview from another class Pin
pmarfleet27-Nov-07 10:19
pmarfleet27-Nov-07 10:19 
GeneralRe: populating a listview from another class Pin
kenwen27-Nov-07 10:37
kenwen27-Nov-07 10:37 
GeneralRe: populating a listview from another class Pin
pmarfleet27-Nov-07 10:49
pmarfleet27-Nov-07 10:49 
GeneralRe: populating a listview from another class Pin
kenwen27-Nov-07 10:57
kenwen27-Nov-07 10:57 
Questionwhen i can buy visual studio 2008 ? Pin
E_Gold27-Nov-07 8:55
E_Gold27-Nov-07 8:55 
AnswerWell Pin
Ennis Ray Lynch, Jr.27-Nov-07 8:58
Ennis Ray Lynch, Jr.27-Nov-07 8:58 
GeneralRe: Well Pin
Christian Graus27-Nov-07 9:21
protectorChristian Graus27-Nov-07 9:21 
GeneralHrmm Pin
Ennis Ray Lynch, Jr.27-Nov-07 9:23
Ennis Ray Lynch, Jr.27-Nov-07 9:23 
GeneralRe: Hrmm Pin
Christian Graus27-Nov-07 9:35
protectorChristian Graus27-Nov-07 9:35 

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.