Information générale
Catégorie:
Code, syntaxe and commandes
Titre:
Special Error occurs no event, is Microsoft control problem?
Versions des environnements
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.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement