nel form html metti
codice:
<form id="form1" action="a.aspx" method="post" title="Ciccio">
<div>
Nome:
<input name="nome" type="text" />
Cognome:
<input name="cognome" type="text" />
Indirizzo:
<input name="indirizzo" type="text" />
Email:
<input name="email" type="text" />
User:
<input name="user" type="text" />
Password:
<input name="pass" type="password" />
Conferma password:
<input name="cpass" type="password" />
<input name="Submit1" type="submit" value="submit" />
<input name="Reset1" type="reset" value="reset" /></div>
</form>
devi mettere il name nei controlli
la pagina ricevente sembra ok
codice:
Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Load
Dim nome As String = Request.Form("nome")
Dim cognome As String = Request.Form("cognome")
Dim indirizzo As String = Request.Form("indirizzo")
Me.Response.Write(nome & "
")
Me.Response.Write(cognome & "
")
Me.Response.Write(indirizzo & "
")
End Sub