Generic lists
How do i navigate between records in a generic list(with next, and previous buttons).
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
VulpesPosted Apr 19, 2011, 4:49 AM
In the first case, check that the resulting index is less than the Count property and, in the second case, that it's not negative before attempting to access the element at that index.