Here is my basic dilemma
I have a database with two tables. Computers table and Location Table. The computers table basically looks like this
ID
Location
...
Example Rows
The Location table looks like this
LocationID
Location
Example Rows
I created a dataset with the two tables, then created the relations, but now how do I display the data in a datagridview so it just shows the ID and the Location. I want the DataGridView to look like this
This seems like a common thing to me but I just can't figure it out.
Thanks
I have a database with two tables. Computers table and Location Table. The computers table basically looks like this
ID
Location
...
Example Rows
Code:
ID Location Computer1 39 Computer2 21
LocationID
Location
Example Rows
Code:
LocationID Location 39 Computer Room 21 Conference Room
Code:
ID Location Computer1 Computer Room Computer2 Conference Room
Thanks
Comment