16,718
社区成员
发帖
与我相关
我的任务
分享Dim sql As String;
If (this.textBox1.Text == string.Empty) Then
sql = "insert into tablea (.....) values ('',NULL,..)"
Else
sql = "insert into tablea (.....) values (''," + this.textBox1.Text + ",..)"
End Ifupdate 表
set 字段 = null
where 字段 = ''