I have a combobox with a lookup list bound to an int field. For the int field, my BO returns 0 as an alternate for null and my TopMostValue is set to 0. I have read several posts on here which suggests that if I select the TopMostItem then it should write Null back to the database and not 0. In my case, it writes 0 back to the database.
My database can accepts nulls so there is no problem on that score. Given the other posts, should I be seeing Null or 0 written to the database?
Thanks in advance,
Aaron
Thanks.
If you have that need, you'll need to populate the combo manually, creating your own datasource for the combobox with a null top most item.
I had the wrong setting in the BO - I was just returning an alternate value rather than setting it too.
Thanks Greg