I would ilke to set the selected value of my gridview based on the selected value of a dropdown control.
I added the attached code to my selectedindex changed event for my dropdown. However, it says that the 'Selected Value' for my gridview is read only.
How can I get around this?
If ddl_projectlist.SelectedValue <> -1 Then
gvProjects.SelectedValue = ddl_projectlist.SelectedValue