You will not be able to query a couple collections and then “bind” the resulting data to a dataset. Instead, you will need to assign the result to the rows property of the table.
It would be helpful if you could post some screen shots of the collections that you are using. You’re attempting something pretty intricate for someone who evidently hasn’t coded much.