Hi guys, i'm kinda stuck again and i know that you geniuses will probably be able to help me out

ok so i've been creating a program in VB that connects to a Microsoft database, and up until now, the program has been displaying the information fine. however, all i get now is the error message "No row at position 0" whenever it tries to display almost anything.

I am baffled as i have 3 forms that work and are programmed exactly the same way and only 1 works fine :/

HEELLLPP!

Code:
        MaxRows = ds.Tables("TTDB").Rows.Count

        Do

            ListBox1.Items(inc) = ds.Tables("TTDB").Rows(inc).Item("TeacherName") - error message from this segment

            inc = inc + 1

        Loop Until inc = MaxRows