VB 實(shí)例 Select 條件

vb 實(shí)例

select 條件

@code
dim weekday=datetime.now.dayofweek
dim day=weekday.tostring()
dim message=""
end code
<html>
<body>
@select case day
case "monday"
    message="this is the first weekday."
case "thursday"
    message="only one day before weekend."
case "friday"
    message="tomorrow is weekend!"
case else
    message="today is " & day
end select
<p>@message</p>
</body>
</html>

相關(guān)文章
亚洲国产精品第一区二区,久久免费视频77,99V久久综合狠狠综合久久,国产免费久久九九免费视频