手动阀

Good Luck To You!

如何判断ASP中的变量不为空?

在ASP中,可以使用IsNull函数来判断一个变量是否为空。如果变量不为空,则返回False;如果变量为空,则返回True。,,``asp,Dim myVar,myVar = "Hello, World!",If IsNull(myVar) Then, Response.Write("Variable is empty"),Else, Response.Write("Variable is not empty"),End If,``
<< 1 >>

Powered By Z-BlogPHP 1.7.3

Copyright Your WebSite.Some Rights Reserved.