这是我的课:
Public Class AddressForm
Private Street As String
Property Street_() As String
Get
Return Street
End Get
Set(ByVal value As String)
If value IsNot Nothing Then
Street = ""
Else
Street = value
End If
End Set
End Property
End Class
这是我上面类 BusinessAddressDialog 的对象
如果 Not BussinessAddressDialog.Street_ = String.Empty(此处应用程序因空值而崩溃)在此行之后,我将在数据库中插入值
谢谢你的帮助