|
|
|
|
|
| | |
|
Active Server Pages ASP control controls class classes module script Scripts applet CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Deleting in SQL |
From: |
Mike |
Date: |
8/8/2000 8:45:29 AM |
IP: |
63.144.89.163 |
I am having difficult getting my Delete script to work. I am unsure whether my code is correct. I will put the snipet of it below. If you find or know the problem please let me know.
<%ElseIf Request.Form("Action")="Delete" Then
Dim con, data_source, sqlText,badgeNum
Dim statement, prCounter, egCounter, pCounter, pTestCounter, pInitCounter
Dim pDateCounter, tmsCounter
Set con = Server.CreateObject("ADODB.Connection")
data_source="DSN=test; UID=sa"
con.Open data_source
sqlText="DELETE * FROM user_profile WHERE badgeNum = "&_
Request.Form("badgeNum") &""
Response.Write sqlText
%>
<%Set con = Nothing%>
<%End If%>
Please email this is killing me!!! Have any other suggestions please email too. |
Follow Up - Re: Deleting in SQL - mc 8/9/2000 6:17:06 PM
Follow Up - Re: Deleting in SQL - RAHUL 8/11/2000 2:53:34 AM
|
|
|
|
|
|
|
|
|
|
|
|