【发布时间】:2012-11-24 06:01:59
【问题描述】:
我想将DOB 变量赋值为null。
Dim DOB As Date = DTPSdob.Value
Dim datestring As String = DOB.ToString("d")
If chkSdob.Checked = False Then
DOB = 'I want to assign here DOB variable as null'
Else
DOB = datestring
End If
【问题讨论】: