domain .tw idv.tw .com.tw
你正在閱覽 :: 繁體中文:: 學習 ASP SQL VB HTML code

學習 .ASP SQL HTML XML CSS JAVA Perl code study
English Chinese_Traditional Chinese_Simplified

你正在閱覽 :: 繁體中文 Chinese_Traditional

學習.主題:
首頁
ASP
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
. Array
. Functions
»IsArray
»IsDate
»IsNull
»IsNumeric
. Prevent_hacker
XML

SiteMap

3w....學習.教學 > VBSCRIPT > functions » isnull

3w learning

functions >
isnull

Title:

is it null ? true or false


辨識是否為無資料的VBscript函數
Description:

is null = chcek if it is null for true? ------ attention ------- Empty is false fot null


有東西: 布林運算IsNull()就會回應False
沒東西: 布林運算IsNull()就會回應True
Example Code:

<% if isnull(rs("aData")) then end if %> <% if not isnull(rs("aData")) then end if %> ------------------------------------ <% bData=Empty if IsNull(bData) then response.write "it is true" else response.write "it is false" end if %> ----- Example 2 isnull() code script ----- <% dim string string="012345" If isNull(string) Then response.write IsNull(string)&"<br>" response.write((string)) else response.write (string)&"<br>" response.write(isNull(string)) end if %>


可運用檢查資料或字串是否為空的
Example Result:

it is false Example 2: 012345 False


---- -------------- ----- not isnull( ) , isnull( ) error: isnotnull( ) , notnull( ) ---- ---------- ----


..
...
...

[ 11/20/2008 ]

www learning school add more scripts and tips memo
You are at >>3WT.EZER.COM >> 3WT.EZER.COM/VBSCRIPT/FUNCTIONS/ISNULL.ASP>>VBSCRIPT
Helpful link:: SEO web tools :: Live PR | SERP checker
back to top Ezer code adding :: Questions ;email