Home | Advertising Info154 USERS CURRENTLY ONLINE   
   Site Search Contact Us Friday, April 20, 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

Active Server Pages ASP control controls class classes module script Scripts applet 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 - 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 programs help tutorial tutorials routine routines jobs listserve mailinglist bulletin board bulletin boards programming snippet snippets 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