|
|
|
|
|
| | |
|
Active Server Pages help tutorial how to ASP Help ASP Tutorials ASP Programming ASP Code - ASP Free CJWSoft ASPProtect ASPBanner ASPClassifieds
(Advanced)
(Components)
(Database)
(General)
(Vbscript)

|
|
Subject: |
Re: Try this.... |
From: |
Datamak |
Date: |
7/3/2000 4:05:44 PM |
IP: |
198.59.115.49 |
Use this HTML below. I just did something very similar and used a drop down populated by a database table.
<HTML>
<HEAD>
<TITLE>Remove Employee</TITLE>
</HEAD>
<BODY>
<CENTER><BR><BR><BR><FORM METHOD="POST" action="http://192.168.1.26/scripts/delete.asp">
<H2>Please select employee to remove from database:</H2>
<select name = shit>
<% while not YourDB.EOF %>
<P><option value = "<%=YourDB.Fields("EmployeeName").value%>"><%=YourDB.Fields("EmployeeName").value%></option>
<% YourDB.MoveNext%>
<%Wend%>
<% YourDB.close
set YourDB = Nothing %>
</select></P>
<P><input type="submit" value="submit" name="Remove"></P>
</form>
</Body>
</html>
Hope this helps
|
Previous Message
|
|
|
|
|
|
|
|
|
|
|
|