
add, edit using drop down boxes and list boxes
If the items listed in the dropdown box are retrieved from the back-end
database, a common way to implement your task is to cause the page to be
submitted to the server each time the button is clicked. On the
server-side, you can use the ADO to process the add/delete by interacting
with the database and then repopulate the dropdown list using the
Response.Write. For example, on server side you can repopulate the dropdown
list as follows:
<%
Respose.Write "<select>"
Respose.Write "<option value='1'>first</option>"
'...
Response.Write </select>"
%>
Gary
This posting is provided "AS IS", with no warranties, and confers no
rights. Enjoyed ASP.NET? http://www.asp.net