Public Property Duration() As Integer
Get
Try
Return CType(Item(DurationColumn), Integer)
Catch e As Global.System.InvalidCastException
Throw New Global.System.Data.StrongTypingException("The value for column 'Duration' in table 'T_MembershipSale' is DBNull.", e)
End Try
End Get
Set(ByVal value As Integer)
Item(DurationColumn) = value
End Set
End Property
""
ユーザーがItem(DurationColumn)
整数に割り当てたい場合はどうなりますか? 例外があります。0
これを回避して設定するためのクリーンなソリューションはあり""
ますか?