G
Guest
I am sure this is looking me in the face, but I've stared at it so long I
can't see the forest anymore because of all the trees. This should be simple.
I want to populate a DataGrid with the results obtained from a SQL database
that is located in a DataSet. I am also using the same results to populate a
listbox for the user to select a specific functionality.
If I populate the DataGrid first, the listbox won't populate, and vise
versa. I know it's because the DataSet is at EOF. What command do I use to
move back to the first record in the DataSet (like the old rs.MoveFirst), and
for that matter, what are the commands (like the rs.move xxx) that allow
traversing the rows?
Any help would be really appreciated. Thanks in advance.
Jim Hawley
can't see the forest anymore because of all the trees. This should be simple.
I want to populate a DataGrid with the results obtained from a SQL database
that is located in a DataSet. I am also using the same results to populate a
listbox for the user to select a specific functionality.
If I populate the DataGrid first, the listbox won't populate, and vise
versa. I know it's because the DataSet is at EOF. What command do I use to
move back to the first record in the DataSet (like the old rs.MoveFirst), and
for that matter, what are the commands (like the rs.move xxx) that allow
traversing the rows?
Any help would be really appreciated. Thanks in advance.
Jim Hawley