I'm binding a decimal (from an NHibernate entity) to a NumericUpDown.
_numUpDown.DataBindings.Add(
New Binding(
"Value",
_BindingSource,
"TheDecimal",
False,
DataSourceUpdateMode.OnPropertyChanged
)
)
This works fine. However when I change the minimum value on the NumericUpDown from 0 to .01 I get an error.
From the designer;
Me._numUpDown.Minimum = New Decimal(New Integer() {1, 0, 0, 131072})
The error;
1) System.InvalidOperationException
---------------------------------------
Message: DataBinding cannot find a row in the list that is suitable for all bindings.
Target: Void FindGoodRow()
Source: System.Windows.Forms
What can I do to get it to bind when the minimum value isn't 0?