Click here to Skip to main content
15,902,032 members
Home / Discussions / C#
   

C#

 
AnswerRe: What is the best practice for exception management and error handling c# Pin
HKHerron3-Mar-15 6:30
professionalHKHerron3-Mar-15 6:30 
Questionwhy memory is increasing in just a for loop? Pin
Le@rner26-Feb-15 19:42
Le@rner26-Feb-15 19:42 
AnswerRe: why memory is increasing in just a for loop? Pin
Pete O'Hanlon26-Feb-15 20:20
mvePete O'Hanlon26-Feb-15 20:20 
AnswerRe: why memory is increasing in just a for loop? Pin
OriginalGriff26-Feb-15 20:23
mveOriginalGriff26-Feb-15 20:23 
GeneralRe: why memory is increasing in just a for loop? Pin
Le@rner26-Feb-15 21:16
Le@rner26-Feb-15 21:16 
GeneralRe: why memory is increasing in just a for loop? Pin
OriginalGriff26-Feb-15 21:21
mveOriginalGriff26-Feb-15 21:21 
GeneralRe: why memory is increasing in just a for loop? Pin
Pete O'Hanlon26-Feb-15 22:24
mvePete O'Hanlon26-Feb-15 22:24 
GeneralRe: why memory is increasing in just a for loop? Pin
Le@rner27-Feb-15 0:22
Le@rner27-Feb-15 0:22 
C#
i use this

for (int i = 0; i < dataGridView1.Rows.Count - 1; i++)
                {

                     
                        Value = dataGridView1.Rows[i].Cells[sel_index + 2].Value.ToString();
                      

                    

                    

                    if (dataGridView2.Rows[i].Cells[1].Value == null || dataGridView2.Rows[i].Cells[1].Value == string.Empty || dataGridView2.Rows[i].Cells[1].Value.ToString().Trim().Length == 0)
                    {
                        

                            dataGridView2.Rows[i].Cells[1].Value = Value;
                            dataGridView2.Rows[i].Cells[1].Style.ForeColor = Color.Red;
                        
                    }
                    else { }

                    
                }

GeneralRe: why memory is increasing in just a for loop? Pin
Pete O'Hanlon27-Feb-15 1:45
mvePete O'Hanlon27-Feb-15 1:45 
GeneralRe: why memory is increasing in just a for loop? Pin
F-ES Sitecore27-Feb-15 2:38
professionalF-ES Sitecore27-Feb-15 2:38 
Questionhow to continuously write text to a label in C# Pin
Member 1068390226-Feb-15 6:33
Member 1068390226-Feb-15 6:33 
AnswerRe: how to continuously write text to a label in C# Pin
manchanx26-Feb-15 7:52
professionalmanchanx26-Feb-15 7:52 
GeneralRe: how to continuously write text to a label in C# Pin
Member 1068390226-Feb-15 9:26
Member 1068390226-Feb-15 9:26 
AnswerRe: how to continuously write text to a label in C# Pin
HKHerron26-Feb-15 9:38
professionalHKHerron26-Feb-15 9:38 
GeneralRe: how to continuously write text to a label in C# Pin
Member 1068390226-Feb-15 10:07
Member 1068390226-Feb-15 10:07 
GeneralRe: how to continuously write text to a label in C# Pin
HKHerron26-Feb-15 10:20
professionalHKHerron26-Feb-15 10:20 
GeneralRe: how to continuously write text to a label in C# Pin
Member 1068390226-Feb-15 10:46
Member 1068390226-Feb-15 10:46 
AnswerRe: how to continuously write text to a label in C# Pin
Member 1068390226-Feb-15 11:09
Member 1068390226-Feb-15 11:09 
GeneralRe: how to continuously write text to a label in C# Pin
V.27-Feb-15 0:39
professionalV.27-Feb-15 0:39 
AnswerRe: how to continuously write text to a label in C# Pin
Member 857809327-Feb-15 9:07
Member 857809327-Feb-15 9:07 
GeneralRe: how to continuously write text to a label in C# Pin
Member 1068390227-Feb-15 11:36
Member 1068390227-Feb-15 11:36 
Questionc# Soap Web service header Pin
Info service26-Feb-15 5:36
Info service26-Feb-15 5:36 
QuestionConfused on method type Pin
Truck5326-Feb-15 3:58
Truck5326-Feb-15 3:58 
AnswerRe: Confused on method type Pin
OriginalGriff26-Feb-15 4:22
mveOriginalGriff26-Feb-15 4:22 
AnswerRe: Confused on method type Pin
manchanx26-Feb-15 5:09
professionalmanchanx26-Feb-15 5:09 

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.