ASP常用函數(shù):IIF()
更新時間:2007年02月07日 00:00:00 作者:
用法: IIF(條件表達式,為真時返回值,為假時返回值)
<%
Function IIf(bExp1, sVal1, sVal2)
If (bExp1) Then
IIf = sVal1
Else
IIf = sVal2
End If
End Function
%>
<%
Function IIf(bExp1, sVal1, sVal2)
If (bExp1) Then
IIf = sVal1
Else
IIf = sVal2
End If
End Function
%>
相關文章
ASP編程入門進階(二十):ADO組件之查詢數(shù)據(jù)記錄
ASP編程入門進階(二十):ADO組件之查詢數(shù)據(jù)記錄...2007-01-01javascript asp教程第六課-- response方法
javascript asp教程第六課-- response方法...2007-03-03chr(9)、chr(10)、chr(13)、chr(32)、chr(34)講解
chr(9)、chr(10)、chr(13)、chr(32)、chr(34)講解...2007-03-03IIS 錯誤 Server Application Error 詳細解決方法
IIS 錯誤 Server Application Error 詳細解決方法...2007-02-02ASP Recordset 分頁顯示數(shù)據(jù)的方法(修正版)
最近給別人培訓asp 分頁,對于asp的入門新手來說,最簡單的分頁就是用Recordset 分頁技術了,他主要用于一些少量數(shù)據(jù)的分頁,對于新手學習是最好的了,對于大量數(shù)據(jù)分頁不建議用。2008-11-11ASP編程入門進階(九):內(nèi)置對象Application
ASP編程入門進階(九):內(nèi)置對象Application...2007-01-01