SelectedValue Property

When I click on update on my form, I get the error.
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

Daniel ReynoldsConnect With a Mentor Software Applications Developer / IntegratorCommented:
This error occurs when you assign a selectedValue to your dropdown that isn't already existing in the dropdown list.

For example: your dropdown has values of a, b, and c. but you assign it d as follows

DropDownList5.SelectedValue = "d"

You will get an error as you see.
All Courses

From novice to tech pro — start learning today.