il mio problema e questo ho un campo editare nel mio db il codice e questo
<!--#include file="connessione.asp"-->
<%
Dim cod
cod=Request.Querystring("cod")
Dim SQL,Rec
SQL="SELECT * FROM dati WHERE id="&cod
Set rec = Server.CreateObject("ADODB.Recordset")
Set Rec=Conn.Execute(SQL)
%>
<div align="center">
<center>
<form method="post" action="edit_process.asp?cod=<%=cod%>">
<table border="0" cellpadding="4" width="400" bgcolor="#000000" cellspacing="1" height="142">
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">Editare i dati </font></td>
<table border="0" cellpadding="4" width="400" bgcolor="#000000" cellspacing="1" height="142">
<tr>
<td width="199" bgcolor="#FFFFCC" height="35">Ragione sociale </td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("ditta")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">Indirizzo</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("indirizzo")%>"></td>
</tr>
<center>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">Cap</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("cap")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">Cita'</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("citta")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">Provincia</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("provincia")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">prefisso</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("prefisso")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">telefono</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("telefono")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">mail</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("mail")%>"></td>
</tr>
<center>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">cellulare</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("cellulare")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">referente</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("referente")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">Periodo contatto</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("periodo_con")%>"></td>
</tr>
<center>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">apparecchiatura</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("apparecchiatura")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">agenti</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("agenti")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">data</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("periodo")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">informazioni</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("info")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">fonte</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("fonte")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">numero verde</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("nr_verde")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">parlato con</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("parlato_con")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">documentazione inviata</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="nome" maxlength="50" size="25" value="<%=rec("documentazione_inviata")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="35"><font size="2" face="Verdana">data</font></td>
<td width="199" bgcolor="#FFFFCC" height="35">
<p align="center"><input name="cognome" maxlength="50" size="25" value="<%=rec("in_data")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36"><font size="2" face="Verdana">apparechio richiesto</font></td>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input name="residenza" maxlength="50" size="25" value="<%=rec("apparecchio_richiesto")%>"></td>
</tr>
<tr>
<td width="199" bgcolor="#FFFFCC" height="36">
<p align="center"><input type="submit" name="Submit" value="Aggiungi"></td>
<td width="199" bgcolor="#FFFFCC" height="36"> </td>
</tr>
<td><p><ul>
<li id="catalogo-button"><a href="base.asp"><h4>Vedi data base</h4></a></li>
</ul></p></td>
</table>
</form>
</center>
</div>
poi ho edit_process che dovrebe salvare le modifiche che fai nella prima pagina,il codice e quello che ti ho mandato ieri.
quindi la prima parte mi da i dati del db che sono gia nell db,e poi io dovrei inserire ho modificare i dati gia esistenti e aggiungere de nuovi e salvarli nel db
non so se mi sono spiegata