zachvaldez
asked on
programmatically cahnge sqldatasource in e.row.command
I would like to programmatically change the datasource(sqldatasource) of 3 dropdownlists in teh gridview
when I click the 'Select' commandname in the grid. I believe it can be done in the gridview1_rowcommand event, but somehow zi could not make it work. currently the ddls are pointing to sqldatasource1. I would liek to change the datasource to sqldatasurce2,3,& 4 for the dropdownlists. thanks
when I click the 'Select' commandname in the grid. I believe it can be done in the gridview1_rowcommand event, but somehow zi could not make it work. currently the ddls are pointing to sqldatasource1. I would liek to change the datasource to sqldatasurce2,3,& 4 for the dropdownlists. thanks
try it on the selected index changed event instead.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.