.net - ArgumentException in BindingManagerBase during EndCurrentEdit -


I have a form on which many debitbands have been debited with many properties of objects and the child object.

When we call end-mount, it throws the following exception:

Logic expression occurred: type 'object' System.DBNull 'to' System.String 'Can not be typed.

Now I'm assuming that there are some property dubbs in the object, but browsing through it I can not find it. It can also happen in one of the many child objects.

Is there an easy way to determine DBublublim, so can I fix the basic problem?

Or could it be due to some other reasons?

Find out how to find objects due to this problem.

In the call stack, right-click and select View external code.

Select the highest item in the call stack, and see the local window.

It is databasing from there. You can see what is the value of zero in your control.

My case was a combo box that should be an empty string, not selected -1.


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 -