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
. Recordset
. Request
. Response
. Server
. server-createobject
. ServerVariables
. Session
. Special-Symbols
»double-quotation
»right-single-quotation
. String
. Sub
. Time
CSS
Ecommerce
HTML
InternetProtocol
JAVA
Microsoft
php
Robots
SearchEngine
SQL
SQLserver
VBscript
XML

SiteMap

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

3w learning

special-symbols >
double-quotation

Title:

double quotation (") marks


“ ”double quotation marks 雙引號
Description:

double quotation (") mark to display a (") you need to write ("") two double quotations in a script single " means script


“ ”double quotation marks 雙引號
的使用
------其他特殊字元-----
空格  
雙引號 " 
單引號 ' 
強調符號 ` 
數字符號 # 
百分比符號 % 
大於 > 
小於 < 
驚嘆號  ! 
句號 . 
角括號 [ 或 ] 
星號 * 
貨幣符號 $ 
分號 ; 
冒號 : 
問號 ? 
插入號 ^ 
大括弧 ( 或 ) 
加號 + 
反斜線 \ 
Example Code:

double quotation (") mark does work for MSSQL but not Access (MDB) for MSsql : you may save it (") and recall it (") <% response.write "<h1>""</h>" %> ------- Tips for Access MDB ---------- Example code :: solutation for Access MDB <% text=request("text") ' ASP server sees "" as " textReplaced=replace(text,"""","quooooteMark") ' example 7" will become 7quote for your DB to save ' (") must be replaced before save action '---------- ' save in access processd here '---------- 'recall from DB textReplaced=rs("textReplaced") text=replace(textReplaced,"quooooteMark","""") response.write text %> ---------- attention -------- Microsoft Access (MDB) does not restrict the use of special characters such as a number sign (#), a period (.), or a double quotation (") mark in the database object names or in the database field names. However, if you do use the special characters, you may experience unexpected errors. Microsoft recommends :: !!! that you do not use the special characters in the database object names in the Access database or in the database project.


" 在Access MDB 和 MSsql 下的DB儲存與呼叫可能會有點差異

Access : " 可在存前更變身, 呼叫後再還身
--------------------
Microsoft Access 不會在資料庫物件名稱或
資料庫欄位名稱中,限制使用特殊字元,例如數字符號
(#)、句號 (.) 或雙引號 (")。但是,如果您使用了這
些特殊符號,可能會發生非預期的錯誤。因此,Microsoft
建議您不要在 Access 資料庫或資料庫專案的資料庫物件
名稱中,使用這些特殊字元。 本文將告訴您,必須避免
使用的特殊字元,以免因為這些特殊字元而造成已知的問題。
Example Result:

Example 1 ----- MSsql save and recall

"

Example 2 : ( replace before save) 7"


<%=replace(text,"""","&quot;")%>


<%=replace(replace(replace(Post1,"<","<"),"""","""),">",">")%>">
在submit 和 request( )之前就必須完成
不然將出現 ( "> ) 與不顯示
..
...
...

[ 7/29/2010 ]

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