ケースステートメントで2つの条件をテストする方法を理解しようとしています。VB 2010でSelect Caseを使用した複数の条件
Select Case txtWeight.Text
Case Is <= 2
decShippingCost = (decShipping2 + (decShipping2 * 0.26))
Case Is > 2 and <= 4
decShippingCost = (decShipping4 + (decShipping4 * 0.026))
私はうまく動作しません。何が間違っていますか?
ありがとう!その常に愚かで小さな何か:)あなたの助けを感謝します! –
'Case Is> 2、Is <= 4' – Valen