Hi,
I am attempting to add a dropdown to a an edit template field in a gridview whose data source is table 1. The field is an integar field that is a foreign key to table 2's primary key. I'm binding the primary key and description field from table 2 as the data value and shown value in the dropdown field (as I would in Access). When I do this, I receive the value of table 2's primary key field and not the value that is in the gridview's data source's field (table 1's foreign key to table 2)that I have turned into a dropdown field.
I would like the user to see the description field in the dropdown from table 2, but keep it binded to table 1's original field's value.
Any suggestions on how to accomplish this will be greatly appreciated.
Sydney
I am attempting to add a dropdown to a an edit template field in a gridview whose data source is table 1. The field is an integar field that is a foreign key to table 2's primary key. I'm binding the primary key and description field from table 2 as the data value and shown value in the dropdown field (as I would in Access). When I do this, I receive the value of table 2's primary key field and not the value that is in the gridview's data source's field (table 1's foreign key to table 2)that I have turned into a dropdown field.
I would like the user to see the description field in the dropdown from table 2, but keep it binded to table 1's original field's value.
Any suggestions on how to accomplish this will be greatly appreciated.
Sydney