Coba pake replace, misalkan

 

Dim Hari

 

Textbox1.text  = "Jum'at"

Hari = Replace(Textbox1.text  ,"'","''") >> sori kekecilan kali ya...
hehehehe

 

Disini kita me-Replace single quote (') dengan dua kali single quote
(''), bukan double quote (") lho...

 

Semoga Bermanfaat

Ardhy

 

 

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of thuryanto
Sent: Monday, 26 March 2007 09:28
To: [email protected]
Subject: [Programmer-VB] Menyimpan tanda kutip tunggal atau ganda dalam
database

 

Mohon bantuan dan pencerahan dari teman-teman semua...
Gimana caranya menyimpan tanda kutip tunggal atau ganda dalam 
database, yang diisikan melalui textbox?, sudah saya coba tapi error?
contoh :
- Knee 2"
- Jum'at

thanks'



 


This e-mail (including any attachments) is confidential and may be legally 
privileged. If you are not an intended recipient or an authorized 
representative of an intended recipient, you are prohibited from using, copying 
or distributing the information in this e-mail or its attachments. 
If you have received this e-mail in error, please notify the sender immediately 
by return e-mail and delete all copies of this message and any attachments.
Thank you.

Kirim email ke