HOLA TENGO UN COMBO EN EL CUAL TENGO LA LISTA DE LOS EMPLEADOS, Y LO QUE QUIERO HACER ES QUE ME SELECCIONE EL EMPLEADO, Y ESCOJA UNA DE LAS OPCIONES, MODIFICAR, CONSULTAR O ELIMINAR, LO DEL COMBO LO TENGO BIEN, EL PROBLEMA ES QUE NOSE COMO ENVIAR EL ID (PROGR) A LA OTRA PAGINA, SERA QUE ES PREFERIBLE QUE EN VEZ DE ENLACES USE BOTONES??? Y DESPUES SOLO LO QUE HAGO ES RECOGER LAS VARIABLES DEL FORMULARIO, SI ES ASI COMO ENLAZO UNA PAGINA CON UN BUTTOM, USO JAVA?? O SE PUEDE USAR ASP???
<!--#include file="eurscriptlibrary/libdatabase.asp"-->
<%
Set objdb = Server.CreateObject("ADODB.Connection")
objdb.open DSNDB_NAME,SQLSERVER_USER,SQLSERVER_PASSWORD
conec= "select e.progr as progr, e.nome as nome, e.cognome as cognome from elencopubblico_new e order by e.cognome, e.nome"
set dat=objdb.Execute(conec)
%>
<html>
<body>
<table width=100% border="1" cellspacing="2" cellpadding="0">
<tr>
<td colspan="2"><a href="caricadati.asp">Include nuovo Dipendente</a></td>
</tr>
<tr>
<form name="selecc">
<td rowspan="3" width=30% >Dipendenti: <select name="menu1">
<% while (not dat.eof)%>
<option value='<%=dat("progr")%>'><%=dat("cognome")%>  ;<%=dat("nome")%></option>
<% dat.movenext
wend %>
</select></td>
</form>
<td><a href="datarri.asp?id=QUE COLOCO AQUI">Visualizzare Dati</a></td>
</tr>
<tr>
<td><a href="modifica.asp?id=QUE COLOCO AQUI">Modificare Dati</a></td>
</tr>
<tr>
<td><a href="Elimina.asp?id=QUE COLOCO AQUI">Toglia Dati</a></td>
</tr>
</table>
</body>
</html>