I have a gridview that has a templatecolumn for editing that contains a dropdownlist. The dropdown gets it's data from an objectdatasource and is working fine.
I now need to add a selectparamter to the objectdatasource which gets an id from the gridview. I need to do this as the dropdown contains different data for each row in the grid dependent on the ID.
How do I do this? I've tried adding a selectparamter which returns null. Can I get the selected value for a gridview in the onselecting handler?
I now need to add a selectparamter to the objectdatasource which gets an id from the gridview. I need to do this as the dropdown contains different data for each row in the grid dependent on the ID.
How do I do this? I've tried adding a selectparamter which returns null. Can I get the selected value for a gridview in the onselecting handler?