3wt.ezer.com 9/7/2010 12:31:52 PM 3wt.ezer.com:ASP:record update-movenext:學習 asp sql html code 繁體中文 w3 Learning

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
. Active-Server-Flash
. Array
. Cache
. Connection
. Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
»delete
»update
»update-movenext
»update-wend
. Recordset
. Request
. Response
. Server
. server-createobject
. ServerVariables
. Session
. Special-Symbols
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
php
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....學習.教學 > ASP > record » update-movenext

3w learning

record >
update-movenext

Title:

update MoveNext


更新資料一筆接一筆
Description:

update movenext


Example Code:

<% rs.MoveFirst while not rs.EOF rs("ColumnField")=rs("NewValue")+1 rs.moveNext wend %> --------------------------------------------- <% SQL= "select * from TB1 where ColumnField is null " Set rs=GetSQLserverRecordset( conn, SQL) %> <% if not rs.eof then rs.MoveFirst while not rs.EOF rs("ColumnField")="new value" rs.moveNext wend end if rs.close %> ------------------------------------------


注意 null 使用

是 select * from tb where f is null

不是 select * from tb where isnull(f)


是 is null 不是 isnull 也不是 =null

是 is not null 不是 is notnull
Example Result:



..
...
...

[ 9/7/2010 ]

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