Example of An AddNew Form
Using VBScript, ASP, ADO and a OLEDB Connection
Prepared by Lon Hosford
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <% ' ' ' Purpose: Example of Add form ' ' Version: 1.0.0 ' ' Date: 3/4/2004 ' ' Name: WebClubMemberAddNewRequest.asp ' ' Changes: ' 1. Original programming ' ' Programmer: Lon Hosford lon @ hosfordusa.com ' ' ' %> <html> <head> <title>WebMasters Club Join Request</title> </head> <body> <form action="WebClubMemberAddNewResponse.asp" method="post"> <table border = "1" align = "center"> <tr> <td align = "center" colspan = "2"> <b>WebMasters Club Join Request</b> </td> </tr> <tr> <td align = "center" colspan = "2"> Note ASP response code requires Jet 4.0 (Access 2000 Database) </td> </tr> <tr> <td align = "right"> First Name </td> <td> <input type="text" name="FirstName" size="15" maxlength="15"> </td> </tr> <tr> <td align = "right"> Last Name </td> <td> <input type="text" name="LastName" size="20" maxlength="20" > </td> </tr> <tr> <td align = "right"> Web Address </td> <td> <input type="text" name="WebAddress" size="50" maxlength="75"> </td> </tr> <tr> <td align = "right"> Email address </td> <td> <input type="text" name="EmailAddress" size="50" maxlength="75" > </td> </tr> <tr> <td colspan = "2" align = "center"> <input type="submit" value="Join"> </td> </tr> </table> </form> </body> </html>