A
Aaron Smith
I have a simple datagrid on a form. I used the wizard to create the
form. I have navigation buttons that I made myself.. This is the next
button:
Me.BindingContext(objSeasonsDS, "Seasons").Position =
(Me.BindingContext(objSeasonsDS, "Seasons").Position + 1)
The position is always 0. If I hit the next button, it becomes 1, then
when I hit it again, it's back to 0 and gets set to 1 again. The
(objSeasonsDS.Tables("Seasons").Rows.Count is set to the total number of
records. (currently 4)
The grid has only one column, as there is only one field in the table.
The primary Key is set on that field... All the other forms I made with
the wizard works as they are all set up primarily the same way..
Thanks,
Aaron
form. I have navigation buttons that I made myself.. This is the next
button:
Me.BindingContext(objSeasonsDS, "Seasons").Position =
(Me.BindingContext(objSeasonsDS, "Seasons").Position + 1)
The position is always 0. If I hit the next button, it becomes 1, then
when I hit it again, it's back to 0 and gets set to 1 again. The
(objSeasonsDS.Tables("Seasons").Rows.Count is set to the total number of
records. (currently 4)
The grid has only one column, as there is only one field in the table.
The primary Key is set on that field... All the other forms I made with
the wizard works as they are all set up primarily the same way..
Thanks,
Aaron