I have a sf-form with a sflistview and sfcontrols. When I load the form, I get the errror below?? Some of the columns are intenionally null.------------------------------------------------------------
Conversion from type 'DBNull' to type 'Integer' is not valid.
-------------------------------------------------------------
System.InvalidCastException was unhandled by user code
Message="Conversion from type 'DBNull' to type 'Integer' is not valid."
Source="Microsoft.VisualBasic"
StackTrace:
at Microsoft.VisualBasic.CompilerServices.Conversions.ToInteger(Object Value)
at ORION_BO.BOVendorContacts.get_PositionTitle() in N:\Development\Orion\ORION_BO\ORION_BO\Vendor\BOVendorContacts.designer.vb:line 428
at ORION_BO.BOVendorContacts.Field_PositionTitle_Descriptor.GetValue(Object component) in N:\Development\Orion\ORION_BO\ORION_BO\Vendor\BOVendorContacts.designer.vb:line 1234
at System.Windows.Forms.BindToObject.GetValue()
at System.Windows.Forms.Binding.PushData(Boolean force)