ASP.NET Drop Down List error with null values in SqlDataSource -


I have a drop down list on the form view that is bound to both different data sources.

Getting 'ddlFieldName' when I try to run the program is a selected value that is invalid because it does not exist in the list of items. Parameter Name: Value.

I think this is because the field associated with the drop down list contains zero values ​​which are not in the reference table. I have tried to round it by adding an empty object to this list but it starts working:

  



  

Comments

Popular posts from this blog

oracle - The fastest way to check if some records in a database table? -

php - multilevel menu with multilevel array -

jQuery UI: Datepicker month format -