Home | Advertising Info68 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, March 14, 2025  
 
 


 
ASPProtect
User Management Application with web based screens that allow you to manage users.
www.ASPProtect.com
 
ASPBanner
Banner Rotation system. Advertisers can monitor online statistical reports via their web browsers.
www.ASPBanner.com
 
ASP Photo Gallery
Upload an unlimited amount of albums. Set up categories.Image resizing thumbnail creation.
www.ASPPhotoGallery.com
 
ASPClassifieds
Classifieds system. Set up categories. Users can register themselves. Supports picture uploads.
www.ASPClassifieds.com



DISCUSSION ARCHIVES
 



We didn't realize
the site was so popular.

Other Stuff
 

 
 
PowerASP active server pages asp.net microsoft .net framework sdk learn asp what is asp tutorial learn asp.net CJWSoft ASPProtect ASPBanner ASPClassifieds



(Advanced)  (Components)  (Database)  (General)  (Vbscript)




ASPProtect

 
Subject: Re: How to remove single quote ?
From: Paul Simpson
Date: 4/9/1999 3:14:01 AM
IP: 216.140.174.143



 

When I'm having trouble with a SQL statement in an ASP page I like to have the code print it out in HTML as a debugging tool. Then I can see if there are missing spaces, extra punctuation,etc...

Try putting it into a variable and printing it out before you actually go to the database with it:
<% dim strSQL
strSQL = "INSERT INTO datafile" _
& "( name, email)"_
& "VALUES (" _
& "'" & name & "', " _
& "'" & email & "')"

Response.Write strSQL
%>

The Wrox book, "Beginning Active Server Pages", is a great resource for giving you different ways to connect to a datasource and work with a recordset, some of which are easier to work with and debug than a SQL statement.

As the saying goes: "Give a man a fish and he will eat for a day. Teach him how to fish and he will eat for a lifetime".

Previous Message

Follow Up - Thanks. - Lisa 4/9/1999 1:42:02 PM


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright © 1998 - 2025 PowerASP.com and Christopher J. Williams
Banner ads ,other site logos, etc are copyright of their respective companies.
STATS Unless otherwise noted - All Rights Reserved.

Active Server Pages ASP a directory of ASP tutorials applications scripts components and articles for the novice to professional developer. CJWSoft ASPProtect ASPBanner ASPClassifieds www.aspclassifieds.com, www.powerasp.com,www.cjwsoft.com,www.aspphotogallery.com,www.codewanker.com,www.aspprotect.com,www.aspbanner.com