samedi 28 mars 2015

Scaping SQL queries in C#

I have a program that runs queries on a sqlite db,I want to replace any ' character in my query with ''.


The code i am trying:


val.Value.Replace(',' '\'\ ')


But my vs doesnt accept that, is there a diffrent Method?


Aucun commentaire:

Enregistrer un commentaire