I have a data entry screen where it display all the available details of a specific database, for user to edit. When edit is activated, some of the fields with dropdownlist will be shown to minimize data entry error. I want the selected value from the dropdownlist
to be updated into the specific database.
However, I have fail to do so. When I use dropdownlist selectedvalue " bound to" parameter, error message "‘dropdownlist1′ has a SelectedValue which is invalid because it does not exist in the list of items.".
If I take off the dropdownlist selectedvalue " bound to" parameter, the selected value doesn't update back to the database.
Please advice with sample. Thank you.
Marked as answer by ronnieang on Feb 28, 2012 01:22 PM
ronnieang
Member
46 Points
36 Posts
GridView with dropdownlist data entry issue
Feb 27, 2012 11:31 AM|LINK
I have a data entry screen where it display all the available details of a specific database, for user to edit. When edit is activated, some of the fields with dropdownlist will be shown to minimize data entry error. I want the selected value from the dropdownlist to be updated into the specific database.
However, I have fail to do so. When I use dropdownlist selectedvalue " bound to" parameter, error message "‘dropdownlist1′ has a SelectedValue which is invalid because it does not exist in the list of items.".
If I take off the dropdownlist selectedvalue " bound to" parameter, the selected value doesn't update back to the database.
Please advice with sample. Thank you.