I am Working with Master Detail Database,
There Many Tables and Columns with Relationship.
One of them 'M_Location' is one Table, and Its Primary Key IS 'LocationID' and Another table is 'D_Trip', so LocationID is used in D_Trip,
now whenever gridview shows data of 'D_Trip', and also show 'LocationID' Field, but its display a Key(Integer), but i want to display its Value From M_Location-LocationName,
So Help To Solve this,,
Am Using Code,
Just Like DataGridview.Datasource=ds.tables("tb_Name")