I have a NumericEditor on a windows form. In the value change event, I'm trying to check to see if they entered a valid value. Everything works fine unless they enter nothing. When I try and cast the numEditor.Value as an int, it throws an exception. When looking at the .Value in debug mode it shows { }. It does not evaluate to null or empty string (""). Any ideas what this { } value resolves to?
It sounds like it is resolving to DBNull.Value.
-Matt
I should have mentioned it is tied to a business object (class) as it's data source. The property it's tied to is a Nullable<int> So, it cannot resove to DBNull.