Ho 2 pagine form_utenti.asp e modifica.asp.
Nella prima ho inserito una form che funziona sl per l'inserimento di un nuovo utente e relativa password nel db.
Per far funzionare anche i pulsanti di delete ed update come faccio a passare i dovuti parametri (id dell'utente che voglio modificare o cancellare) alla pagina modifica.asp? grazie
Posto il codice che funziona sl per quanto riguarda l'insert:


pag.: form_utenti.asp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body>
<form method="post" action="modifica.asp?mode=insert">
<input type = "text" name = "user" id = "user"></br>
<input type = "password" name = "pwd" id = "pwd"></br>
<input type="submit" id="insert" value="insert" onclick="">
<input type="submit" id="delete" value="delete" onclick="">
<input type="submit" id="update" value="update" onclick="">
</form>
</body>
</html>
-----------------------------------------------------------------
pag.: modifica.asp

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Documento senza titolo</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">

</head>

<body>

<%
set dbconn = server.createobject("adodb.connection")
dbconn.open(application("strconn"))
dim modo, sql
modo=Request.QueryString("mode")
if modo="insert" then
sql = "insert into utenti_prova ([user],pwd) values ('" &request.form("user") & "','" & request.form("pwd") & "')"
End if
dbconn.execute(sql)
dbconn.close()
%>
</body>
</html>