I have a grid with one master table and one detail table. In the DetailTableDataBind event I want to be able to query a database using the values from 2 columns in the master table, the query will determine the contents of the detail table
In the event handler I have this code
In the event handler I have this code
GridDataItem
dataItem = (GridDataItem)e.DetailTableView.ParentItem;
How can I obtain the values from the 2 columns in the parent master table ? I cant use dataItem.GetDataKeyValue because the detail table is not linked by the key value. Is there someway I can obtain these values from dataitem ?