I have 2 tables in my dataset:
- Items
- Warehouse
The Items table contains a column named 'WarehouseID'. It tells me which warehouse this item belongs to.
The Warehouse table contains an 'ID' column and a 'Name' column.
Now if I display the contents of Items table in a datagridview I will see only numbers in the WarehouseID column. How can I make the datagridview display the name of the warehouse instead of its ID?
- Items
- Warehouse
The Items table contains a column named 'WarehouseID'. It tells me which warehouse this item belongs to.
The Warehouse table contains an 'ID' column and a 'Name' column.
Now if I display the contents of Items table in a datagridview I will see only numbers in the WarehouseID column. How can I make the datagridview display the name of the warehouse instead of its ID?