2013年4月22日 星期一

asp switch case

Dim myNum
myNum = 5
Select Case myNum
Case 2
Response.Write("myNum is Two")
Case 3
Response.Write("myNum is Three")
Case 5
Response.Write("myNum is Five")
Case Else
Response.Write("myNum is " & myNum)
End Select




Reference :
ASP Tutorial - Select

沒有留言:

張貼留言