|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
escaping " in vb for sql
i'm making functions to escape/unescape sql strings, and i can't figure out how to put a \ before ", because in replace it's
Replace(strSQL, "find", "replace with") any ideas? |
|
#2
|
|||
|
|||
|
In vb to get the char " you need to put it double like ""
so find = " replace = "" will be Replace(strSQL, """", """""") |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > escaping " in vb for sql |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|