Vb.net 不少于;“价值”;运动模拟
我想添加另一个逻辑条件。即“不小于1”Vb.net 不少于;“价值”;运动模拟,vb.net,logical-operators,Vb.net,Logical Operators,我想添加另一个逻辑条件。即“不小于1” 如果DataGridView1.Item(6,i).Value不小于“您的意思是”大于或等于“,即,`>=” 因此: 如果DataGridView1.Item(6,i).Value=1,则如果要使用多个条件,请使用和。如果其中只有一个必须为真,则使用OrElse而不是和。前者使用短路 If DataGridView1.Item(6, i).Value <= 90 Then
如果DataGridView1.Item(6,i).Value不小于“您的意思是”大于或等于“,即,`>=”
因此:
如果DataGridView1.Item(6,i).Value=1,则如果要使用多个条件,请使用和。如果其中只有一个必须为真,则使用OrElse
而不是和
。前者使用短路
If DataGridView1.Item(6, i).Value <= 90 Then