M
mosscliffe
Following Mr Tabors Video on Databinding I implemented the following
code
In GridViewSelectedIndexChange
I coded DetailsView1.pageindex = gridview1.selectedindex
This works fine for the first page of the binding, but once thr
gridview re-arranges - the formview only ever sees in effect the
rowdisplayedindex
How do I actually bind the formview ID field to the Gridview ID field
of the selected row.
This should be simple
I guess something like Formview.Selected("KeyfieldFieldID) =
Gridview.Selected("KeyFieldID")
but the exact syntax eludes me.
Thanks for any help or pointers
Tim
code
In GridViewSelectedIndexChange
I coded DetailsView1.pageindex = gridview1.selectedindex
This works fine for the first page of the binding, but once thr
gridview re-arranges - the formview only ever sees in effect the
rowdisplayedindex
How do I actually bind the formview ID field to the Gridview ID field
of the selected row.
This should be simple
I guess something like Formview.Selected("KeyfieldFieldID) =
Gridview.Selected("KeyFieldID")
but the exact syntax eludes me.
Thanks for any help or pointers
Tim