C#往数据库写入NULL

来源:互联网 发布:nodejs获取windows ip 编辑:程序博客网 时间:2024/05/19 13:17

(1)update tablename set fieldname=NULL

(2)使用参数DBNull.Value

原创粉丝点击