ASP中的IIF 算神 十一月 22, 2010 旧Blog文章归档 share Facebook Twitter Google + LinkedIn Pinterest Email Share... ASP没有提供IIF语法,需要自己写IIF函数,函数如下: Function IIf(bExp1, sVal1, sVal2) If (bExp1) Then IIf = sVal1 Else IIf = sVal2 End If End Function