Click here to Skip to main content
15,890,512 members
Home / Discussions / C#
   

C#

 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 13:45
Jammer23-Feb-17 13:45 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 13:54
mveGerry Schmitz23-Feb-17 13:54 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 20:34
Jammer23-Feb-17 20:34 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 20:38
mveGerry Schmitz23-Feb-17 20:38 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Jammer23-Feb-17 20:49
Jammer23-Feb-17 20:49 
GeneralRe: Inserting Localised Lookup Data into a Fresh Database Pin
Gerry Schmitz23-Feb-17 21:28
mveGerry Schmitz23-Feb-17 21:28 
AnswerRe: Inserting Localised Lookup Data into a Fresh Database Pin
Bernhard Hiller23-Feb-17 21:32
Bernhard Hiller23-Feb-17 21:32 
Questionwhy not escape to catch an error when i next run? Pin
Member 245846723-Feb-17 2:18
Member 245846723-Feb-17 2:18 
I have the following code structure:

[CODE]
bool bStop = true;
int RowCount = 65000;
private void btnRun_Click(object sender, EventArgs e)
{
int i = 0;
//int iErr;
while (i < dataGridView1.Rows.Count - 1 && bStop)//Loop 1
{

while (i < dataGridView1.Rows.Count - 1 && bStop)// Loop 2
{
try
{
if (i > 0) dataGridView1.Rows[i-1].Selected = false;

dataGridView1.Rows[i].Selected = true;
dataGridView1["ROWS", i].Value = "Processing...";
System.Windows.Forms.Application.DoEvents();
            Thread.Sleep(1000);
            Debug.Print("are in Try and i: " + i);

            //if (chkErr.Checked == true)
            //{ iErr = "E"; }
        }
        catch (Exception ex)
        {
             Debug.Print("are in Catch and i: " + i + " ex: " + ex.Message);
             //If an error occurs this place, why not escape to run i next catch ?
        }

        i++;
    }// Loop 1
}//Loop 2

}
[/CODE]
AnswerRe: why not escape to catch an error when i next run? Pin
OriginalGriff23-Feb-17 2:40
mveOriginalGriff23-Feb-17 2:40 
GeneralRe: why not escape to catch an error when i next run? Pin
Member 245846723-Feb-17 16:08
Member 245846723-Feb-17 16:08 
GeneralRe: why not escape to catch an error when i next run? Pin
OriginalGriff23-Feb-17 20:35
mveOriginalGriff23-Feb-17 20:35 
GeneralRe: why not escape to catch an error when i next run? Pin
Member 24584672-Mar-17 16:03
Member 24584672-Mar-17 16:03 
AnswerRe: why not escape to catch an error when i next run? Pin
Eddy Vluggen23-Feb-17 2:43
professionalEddy Vluggen23-Feb-17 2:43 
QuestionVS c# 2015 Setup Project: How to force Rollback before commit on my own condition Pin
nemo1423-Feb-17 1:07
nemo1423-Feb-17 1:07 
AnswerRe: VS c# 2015 Setup Project: How to force Rollback before commit on my own condition Pin
OriginalGriff23-Feb-17 1:22
mveOriginalGriff23-Feb-17 1:22 
AnswerRe: VS c# 2015 Setup Project: How to force Rollback before commit on my own condition Pin
Bernhard Hiller23-Feb-17 21:39
Bernhard Hiller23-Feb-17 21:39 
QuestionC# Winform: Slide show is not working when i use Quartz.net to fire my routine at specific time Pin
Tridip Bhattacharjee22-Feb-17 23:01
professionalTridip Bhattacharjee22-Feb-17 23:01 
AnswerRe: C# Winform: Slide show is not working when i use Quartz.net to fire my routine at specific time Pin
Pete O'Hanlon22-Feb-17 23:32
mvePete O'Hanlon22-Feb-17 23:32 
AnswerRe: C# Winform: Slide show is not working when i use Quartz.net to fire my routine at specific time Pin
Gerry Schmitz23-Feb-17 9:44
mveGerry Schmitz23-Feb-17 9:44 
QuestionSpell checker for c# project Pin
Ramesh Tigapuram21-Feb-17 22:14
Ramesh Tigapuram21-Feb-17 22:14 
AnswerRe: Spell checker for c# project Pin
Richard MacCutchan21-Feb-17 23:18
mveRichard MacCutchan21-Feb-17 23:18 
AnswerRe: Spell checker for c# project Pin
Pete O'Hanlon21-Feb-17 23:19
mvePete O'Hanlon21-Feb-17 23:19 
QuestionSea trying to change the RichTextBox does not work ? Pin
Member 245846721-Feb-17 18:59
Member 245846721-Feb-17 18:59 
AnswerRe: Sea trying to change the RichTextBox does not work ? Pin
Pete O'Hanlon21-Feb-17 21:27
mvePete O'Hanlon21-Feb-17 21:27 
QuestionPrinting arabic from epson TM-T88V VB.NET, C# Pin
aliraza156721-Feb-17 2:02
professionalaliraza156721-Feb-17 2:02 

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.