Home | Advertising Info56 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, November 26, 2015  

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.

Try a free httpZip trial now and compress for less!

We didn't realize
the site was so popular.

Other Stuff

Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds

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


Subject: Re: Deleting multiple records in SQL DB
From: Charles
Date: 12/29/1999 12:42:59 PM


Thanks for the info it did help!

Now, I have another question. I ended up doing it this way:

Open the database
set conn = server.createobject ("adodb.connection")
conn.open "DSN" , "sa" , "password"

Loop through the form checking for items checked in field DEL
For Each Item in Request.Form("DEL")

Define our variables
Dim itemToDelete, RS, Conn, SQL

Define our SQL command to execute and execute it
SQL = "DELETE FROM Shopping WHERE ShoppingID = " & item & ""
SET RS = Conn.Execute(SQL)

Get next record

Close the database and clear the conn session parameter
Set Conn = Nothing

Is there anything wrong with doing it this way? I dont expect more than 10 users at a time.


Previous Message


   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2015 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 ASP.NET .aspx .ascx Web HTML Developer Internet Microsoft Web Services Visual Studio .NET 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