Generic lists
How do i navigate between records in a generic list(with next, and previous buttons).
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend4days leftRegister
VulpesRank #55 · 29.2K reputationPosted Apr 19, 2011, 12:49 AM EDT
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.