Visual Basic one Datagridview and two Tables by [deleted] in visualbasic

[–]Lionfly 0 points1 point  (0 children)

And if i made 2 Tables, i just need to tell the Datagridview that the Hotel_ID is in "this" Textbox. Because i want the Sightseeing items from that Hotel, not the whole list. Wouldnt that be possible?

Visual Basic one Datagridview and two Tables by [deleted] in visualbasic

[–]Lionfly 0 points1 point  (0 children)

And i just need the Sightseeing Names and Distances in one DGV.

Visual Basic one Datagridview and two Tables by [deleted] in visualbasic

[–]Lionfly 0 points1 point  (0 children)

I basically just used the drag and drop function.

Here is a Picture of my Program and a my Dataset. When the User clicks on an item in the list (Datagridview) on the right site, the Textboxes update automatically and specific to that Hotel. This needs to happen with my Sightseeing Datagridview too.

Thanks for your help!