Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Special Error occurs no event, is Microsoft control prob
Message
De
15/11/2011 21:13:23
 
 
À
14/11/2011 23:43:30
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP
Database:
MS SQL Server
Application:
Desktop
Divers
Thread ID:
01528901
Message ID:
01528997
Vues:
41
J'aime (1)
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-3dcd4662dfab

It'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.
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform