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
. Connection
. Count
. Counter
. Distinct
. Email
. File
. Folder
. Function
. GetSQLserver
. Header
. mySQL
. Record
. Recordset
. Request
. Response
. Server
. Server-CreateObject
. ServerVariables
. Session
. Special-Symbols
»double-quotation
»right-single-quotation
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

3w....學習.教學 > ASP > special-symbols » right-single-quotation

3w learning

special-symbols >
right-single-quotation

Title:

right single quotation marks ' an apostrophe ; chr(34)


右上側的一撇 ' 特別符號---單引號
Description:

' Entity Name supported by HTML : &rsquo An apostrophe


右上側的一撇 '
HTML 可用 &rsquo 或 '
‘ ’single quotation marks 單引號
Example Code:

------------ add in a new row data <% aNewData=request("aNewData") Set rsAdd = GetSQLserverRecordset( conn, "select * from aTable") rsAdd.AddNew rsAdd("aNewData") = aNewData rsAdd.Update response.write " ' ' " %> ------------ update an old data ----------- <% aUpdateData=replace(Request("aUpdateData"),"'","''") SQL="update aTable set aData='"&aUpdateData&_ "' where bData='"&bData&"' conn.Execute SQL %> ---------- attention :: -------- MDB abd MSsql may have different situation ...


只顯示 '
--------
並非由資料庫呼叫
---------------------
 ̄hyphen 連字元
'apostrophe 省略號;所有格符號
( )parentheses 圓括號
[ ]square brackets 方括號
《 》French quotes 法文引號;書名號
...ellipsis 省略號
¨tandem colon 雙點號
"ditto 同上
‖parallel 雙線號
/virgule 斜線號
~swung dash 代字型大小
§section; division 分節號
±plus or minus 正負號
≡is equivalent to 恒等於號
≌is identical to 全等於號
≮is not less than 不小於號
≯is not more than 不大於號
‰per mill 千分之…
∞infinity 無限大號
∝varies as 與…成比例
√(square) root 平方根
∵since; because 因為
∴hence 所以
∷equals, as (proportion) 等於,成比例
∠angle 角
⌒semicircle 半圓
⊙circle 圓
○circumference 圓周
πpi 圓周率
△triangle 三角形
⊥perpendicular to 垂直於
∪union of 並,合集
∩intersection of 交,通集
∫the integral of …的積分
∑(sigma) summation of 總和
°degree 度
′minute 分
″second 秒
#number …號
℃Celsius system 攝氏度
@at 單價
Example Result:

'


you need to use two ' so you can see one ' to be displayed ---------- attention ----------- When you try to add a new data ::: must ues one [ ' ] into DB : use one [ ' ] When you try to update an old data ::: shall use newData=replace(Request("title1" ),"'","''") Tips:: replace one[ ' ] into two [ ' ' ] before you doing UpDate for the first time save When you try to edit update one ' into DB : use two ' for not the first time save <% 'remark: edit for update: means you get ' from DB updateTxt=request("right-single-quotation-marks-txt") newtxt=replace(updateTxt,"'","''") %>


注意
當你是要做第一次的建立資料儲存資料格時要使用單一 '
當你不是要做第一次的建立資料儲存資料格時
(也就是呼叫出後再編輯儲存時)要使用兩個 ' '
..
...
...

[ 8/20/2008 ]

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