Ah, a continuation from your previous thread! But, I think I just figured it out.
Put your index += 1 statement inside the while loop instead of outside the while loop ... I don't know how I missed that one previously, but I'm pretty sure that's the cause.
~~Bonnie Berent DeWitt [C# MVP]
http://geek-goddess-bonnie.blogspot.com
No comments:
Post a Comment