2010-12-09 61 views

回答

6
if a <> 0 then 
    ' code 
end if 
1

另一種方式:)

Dim a As Integer = 3 
    If Not (a = 0) Then 
     Console.WriteLine("is not equal") 
    End If 
+0

我有一個broblem我想刪除列表框中,但它得到了當val爲「0」,我怎麼能寫,它會刪除直到列表框中會是空的 – 2010-12-09 15:21:30