Information générale
Catégorie:
The Mere Mortals .NET Framework
Titre:
Maintence form indexOutOfRange
Versions des environnements
Hi
I am using VS2005 candidate and Mere Mortals .NET Framework 2005. I am trying to create a simple maintenance form similar to the employees form in the sample application, which works until I click the New button then I get the following error.
"Index was outside the bounds of the array" at the line
"if (this.IsSelected(e.LastRow))"
If I ignore the error it seems to work fine.
I tried to set up an employee Form to see if I could see where I was going wrong, but when I used the Business object generator VS2005 crashed when I checked the checkbox along side the employee table. it works for other tables but not employees.
TIA
Stuart
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