Delete ASP Code
<html> <head> <% Dim rst Set rst = Server.CreateObject("ADODB.Recordset") Dim strSQL Dim DeleteID DeleteID = Request.QueryString("ProductID") strSQL = "Delete * FROM Products Where ProductID = " & DeleteID rst.Open strSQL, "DSN=NorthWindDSN" %> </head> <body> <h4>The record has been deleted.</h4> </body> <html>
Click Next for delete-select.asp
- Installing the Personal Web Server (PWS)
- or Internet Information Services (IIS)
- Create the Example ASP Files
- Create a DSN Connection
- Connect to the Database
- Modify Access Data Online
- Inserting Data
- Modifying Data
- Deleting Data
- Data Insert Form
No comments:
Post a Comment
Comments subject to moderation before publishing.