D
Dariusz Tomon
Hello,
I have GridView in EditItem Template of DetailsView (in normal - read-only
mode there is a label). When I'm in
edit mode I can select one item from GridView. The main problem is that as
I can see in DataBidings property of the GridView I deliver SelectedIndex
instead of SelectedValue. Therefore I gives SelectedIndex value to update in
that specific field and NOT SelectedValue (it is ID - foreign key of parent
table)
How can I resolve the problem so that I pass value not an index?
I would appreciate for a code snippet if requred for the problem solution
Best Regards
Darek T.
I have GridView in EditItem Template of DetailsView (in normal - read-only
mode there is a label). When I'm in
edit mode I can select one item from GridView. The main problem is that as
I can see in DataBidings property of the GridView I deliver SelectedIndex
instead of SelectedValue. Therefore I gives SelectedIndex value to update in
that specific field and NOT SelectedValue (it is ID - foreign key of parent
table)
How can I resolve the problem so that I pass value not an index?
I would appreciate for a code snippet if requred for the problem solution
Best Regards
Darek T.