Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有以下内容:
... Else row("Deg") = txtEditOtherDegree.Text
我如何做一个 Else 块,因为我需要向 Else 部分添加更多内容
你把它放在一个单独的行上,并使用End If:
End If
If ... Then ... Else row("Deg") = txtEditOtherDegree.Text ... End If
我认为您需要多个这样的子句:
If ... Then ' Statements ElseIf ... Then ' More Statements ElseIf ... Then ' Other Statements Else ' Final Statements End If