How do I delete a record from a database using ASP?

If You Are Trying To Delete A Record (Row) From A Database Using ASP, You Will Need To Create A Record Set That Queries The Row From The Database And Then Delete The Record Set, As Shown Here:

Set Conn = Server.Createobject("ADODB.Connection");
Conn.Open "DSN Name"

 

Set Recordset = Server.Createobject("ADODB.Recordset");
Recordset.Open("Select * From Table Where ID=1");
Recordset.Delete();
Recordset.Update();