Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert into SQL table from .aspx
Message
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00945715
Message ID:
00945725
Views:
16
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform