For example i have
BookCategoryId (int) that allows null. I am using this in the WinForm to bind it to a DropDown..so the user can select one from many book categories.
When user selects a book category from the drop down ("BookCategoryComboBox") and tabs to next control the value that user selects on the BookCategoryComboBox goes back to empty + the PropertyChanged event do not fire..
But if i change the BookCategoryId (int) to not allow null it works fine..
do i have to do something more for the nullable fields?
this is my binding..
{
...
BookCategoryComboBox.DataBindings.Add("Value",Book,"BookCategoryId");
}
this is the PropertyChanged event..
Book.PropertyChanged += new PropertyChangedEventHandler(Book_PropertyChanged);
i am using Adapter, LLBL V2, WinForm, .Net 2.0