Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Insert into SQL table from .aspx
Message
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Divers
Thread ID:
00945715
Message ID:
00945725
Vues:
15
Hello Daniel,

For your problem, for each textbox, you could use the Replace function to double the single-quotes...
Replace(txtHospital.text, "'", "''")
Hope that helps


In case you don't know about SQL Injection, you might like to read this :
http://msdn.microsoft.com/msdnmag/issues/04/09/SQLInjection/default.aspx




Regards,
Alex
Alexandre Boudreault-Ferland
Chief Technology Officer
AZUR Technologies
http://www.xicommunity.ca
http://www.xiazur.com
http://endfunction.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform