Hi Alex,
I don't know if this will help or not, but it may if help if your problem has to do with the BindingNavigator (which I suspect may be the problem). Take a look at this thread:
http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/28a677eb-c5ec-4af1-a539-3dcd4662dfabIt's a very long thread, but I answered the question about 8 replies from the bottom of the thread (you can skip the beginning of the thread ... jump to the end). The guy who had the problem was not using a DataGridView, as you are, but his problem was related to the BindingNavigator. Anyway, read my answer (and maybe the few replies after it) and let me know if that solves your problem.
~~Bonnie
>Hi all,
> I use vb.net . I find use BindingSource, BindingNavigator and Datagridview( 1 DataGridViewTextBoxColumn).
>First, BindingNavigator1.BindingSource= BindingSource1 , Datagridview1.datasource = BindingSource1 and AllowUserToAddRows = False.
> (Must) Step1. Click the BindingNavigatorAddNewItem Button, and entry some of data, after press enter key.
> Step2. Only press Esc , then will pop error message. But i havn't use one code and occour no event when i Ctrl + break.
>
>Error Message is :
> ArgumentOutOfRangeException was unhandled.
> Out of Range parameter : rowIndex
>
> Troubleshooting tips:
> Make sure the arguments to this method have valid valuse.
> If you are working with a collection, make sure the index is less than the size of the collection.
> When using the overloaded two-argument findString or FindExactString methods with a ComboBox or ListBox, check the startIndex
>parameter.
>
> Anyone know this error, or this is Microsoft control problem, no method to solve ?
>Thank you all reader.