Link to home
Start Free TrialLog in
Avatar of zachvaldez
zachvaldezFlag for United States of America

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
Avatar of third
third
Flag of Philippines image

try it on the selected index changed event instead.
ASKER CERTIFIED SOLUTION
Avatar of prairiedog
prairiedog
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial