你执行了两次请求,下面的代码改一下
cm.ExecuteNonQueryIf cm.ExecuteNonQuery Then
改成
dim count as integer = cm.ExecuteNonQueryIf count = 1 then