R
Ratman
I have this...
Public Property MetalID() As Long
Get
Return lMetalID
End Get
Set(ByVal Value As Long)
lMetalID = Value
End Set
End Property
on my webform I have this...
oPiece.MetalID = CType(ddlMetalID.SelectedValue, Long)
The prolem is that this value can be null and the top item in the
dropdown has a value of "". If I set it to 0, it will make it into
the property but still needs to be set to null somehow.
Any ideas?
Thanks in advance,
Ratman
Public Property MetalID() As Long
Get
Return lMetalID
End Get
Set(ByVal Value As Long)
lMetalID = Value
End Set
End Property
on my webform I have this...
oPiece.MetalID = CType(ddlMetalID.SelectedValue, Long)
The prolem is that this value can be null and the top item in the
dropdown has a value of "". If I set it to 0, it will make it into
the property but still needs to be set to null somehow.
Any ideas?
Thanks in advance,
Ratman