Home | Advertising Info135 USERS CURRENTLY ONLINE   
   Site Search Contact Us Saturday, June 23, 2018  

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


We didn't realize
the site was so popular.

Other Stuff

vbscript active server pages ASP vbscript SQL database informix oracle SQL Server Perl CGI Delphi PHP source code code sample samples program CJWSoft ASPProtect ASPBanner ASPClassifieds

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


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


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 - 2018 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 source code database MS SQL MS Access .mdb adovbs.inc cookies calendar codes sql commands scripts asp programming tutorials iis web server components 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