Error 31 Cannot implicitly convert type
‘System.Web.UI.WebControls.DropDownList’ to ‘string’ Error 34 Cannot
implicitly convert type ‘string’ to
‘System.Web.UI.WebControls.DropDownList’
Exactly as I’ve said in the comments. You can’t use dropdownlists like this.
DropDownList has a property for accessing the currently selected value
string selectedItemValue = dropDownListInstance.SelectedValue;
Or maybe:
string selectedItemValue = dropDownListInstance.SelectedItem.Text;