blah blah blah is here! blah blah » Close

1
votes
1 answers

Index was out of range. Must be non-negative

I'm trying to copy values from a cell in my datagrid to a new form when clicked, I have this working apart from this one line of code: [code]GridClick.Descrip.Text = row.Cells[8].Value.ToString();[/code] Throwing this error: " ...

0
votes
2 answers

Index was outside the bounds of the array.

Hi all, i'm new to C#, and as i try to debug the following code, i take the error : "Index was outside the bounds of the array. " in line : Console.WriteLine(args[0]); . The source code is the following: using System; using ...

0
votes
1 answers

ComboBox 'Un-Selected' Index -1

eeboy
499

I have a situation where the user will pick a selection of 'Actions' from a combo box which is bound to a list. However, it's possible that the user doesn't want to perform any action. Since the action 'None' is not in the bound list (and I ...

Feedback