-
September 22nd, 2005, 03:54 AM
#1
Re: There is no row at position -1
That error means that you try to get access to a row by index -1, but rows are always zero-based. Through this rows with negativ index do not exist.
In most cases -1 means that there is no entry in a collection you are looking for, for instance the method IndexOf() returns -1 if the object is not in the collection.
But I am not a fortune teller, so I can not say clearly what the error in your code is without having a look at it.
Useful or not? Rate my posting. Thanks.
-
September 22nd, 2005, 04:17 AM
#2
There is no row at position -1
"There is no row at position -1" what is the reason of this exception? I couldn't understand the reason of this, because it occurs random I think. I didn't come across this exception while debugging the program for hours.
-
September 22nd, 2005, 04:53 AM
#3
Re: There is no row at position -1
Nice feature of the board to show the answer above the question.
Useful or not? Rate my posting. Thanks.
-
September 22nd, 2005, 08:50 AM
#4
Re: There is no row at position -1
But I am not a fortune teller[snip]
I beg to differ! Answering the question before the question is asked is definitely divine. :P
Jason Isom
.NET 2.0 / VS2005 Developer
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|