hello,
i'm have been thinking a lot about the following thing:
i have a datagrid that has a datatable as its datasource. now i want to
select one row in the datagrid and call a function which needs the
corresponding row from the datatable as its parameter.
how do i find the corresponding row in the datatable when i select a row
in the datagrid.
i was thinking to solve it like this: on the onclick event, get the
index of the selected row in the datagrid en then use that index to
select the row from the datatable. this works fine but i do not believe
that this is the best way to solve my point.
who can help me out?
thx
Dries