请教高手下面是ASP里的,这几个代码用VB怎么写,谢谢!
Select Case shan
case "子","癸","甲","申" dyys=1
case "坤","壬","乙","卯","未" dyys=2
case "戌","乾","亥","辰","巽","巳" dyys=6
case "艮","丙","辛","酉","丑"dyys=7
case"寅","午","庚","丁" dyys=9
End Select
Select Case shan case "子","癸","甲","申" dyys=1 case "坤","壬","乙","卯","未" dyys=2 case "戌","乾","亥","辰","巽","巳" dyys=6 case "艮","丙","辛","酉","丑" dyys=7 case"寅","午","庚","丁" dyys=9
End Select
其实差不太多,只是符合条件的表达式换行了