Home | Advertising Info194 USERS CURRENTLY ONLINE   
   Site Search Contact Us Thursday, April 24, 2014  
 
 


 
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
 
Try a free httpZip trial now and compress for less!


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: Deleting multiple records in SQL DB
From: Charles
Date: 12/29/1999 12:42:59 PM
IP: 207.144.165.177



 

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
Next

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

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

Thanks,
Charles

Previous Message


 

   Active Server Pages Rule The World
Contact Us  
All artwork, design & content contained in this site are Copyright 1998 - 2014 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