------------------------------------------------------------
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)