Vous êtes sur la page 1sur 5

<!

DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body style="background-color:blueviolet">
<b>
Estas son las respuestas de lo antes pedido:
<br /><br />
Nombre: <%=Request.Form("nombre") %><br />
Apellido Paterno: <%=Request.Form("ap_pat") %><br />
Apellido Materno: <%=Request.Form("ap_mat") %><br />
Edad:<%=Request.Form("edad") %><br />
Color:<%=Request.Form("color") %>
</b>
</body>
</html>
__________________________________________________________
__________________________________________________________
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style type="text/css">
#Text4 {
width: 149px;
}
#Text3 {
width: 149px;
}
#Text2 {
width: 149px;
}
#Text1 {
width: 149px;
}
#nombre {
width: 149px;
}
.auto-style4 {
width: 132px;
}
.auto-style5 {

width: 21px;
}
</style>
</head>
<body style="background-color:burlywood">
<form id="form1" method="post" action="valor.aspx">
<b>INGRESA TUS SIGUIENTES DATOS:
<br /><br />
<table style="width:49%;" border="1">
<tr>
<td class="auto-style4">Nombre:</td>
<td class="auto-style5"><input id="nombre" type="text" name="nombre" /></td>
</tr>
<tr>
<td class="auto-style4">Apellido Paterno:</td>
<td class="auto-style5"><input id="Text1" type="text" name="ap_pat" /></td>
</tr>
<tr>
<td class="auto-style4">Apellido Materno:</td>
<td class="auto-style5"><input id="Text2" type="text" name="ap_mat" /></td>
</tr>
<tr>
<td class="auto-style4">Edad:</td>
<td class="auto-style5"><input id="Text3" type="text" name="edad" /></td>
</tr>
<tr>
<td class="auto-style4">Color Favorito:</td>
<td class="auto-style5"><input id="Text4" type="text" name="color" /></td>
</tr>
</table>
</b><br /><br />
<input id="Button1" value="Enviar" type="submit"/>
</form>
</body>
</html>

_______________________________
____________________________________ METODO GET EN VB STUDIO 1012 EXPRESS
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style type="text/css">
#Text4 {
width: 149px;
}
#Text3 {
width: 149px;
}
#Text2 {
width: 149px;
}
#Text1 {
width: 149px;
}
#nombre {
width: 149px;
}
.auto-style4 {
width: 132px;
}
.auto-style5 {
width: 21px;
}
</style>
</head>
<body style="background-color:burlywood">
<form id="form1" method="get" action="valor.aspx">
<b>INGRESA TUS SIGUIENTES DATOS:
<br /><br />
<table style="width:49%;" border="1">
<tr>
<td class="auto-style4">Nombre:</td>
<td class="auto-style5"><input id="nombre" type="text" name="nombre" /></td>
</tr>
<tr>
<td class="auto-style4">Apellido Paterno:</td>
<td class="auto-style5"><input id="Text1" type="text" name="ap_pat" /></td>

</tr>
<tr>
<td class="auto-style4">Apellido Materno:</td>
<td class="auto-style5"><input id="Text2" type="text" name="ap_mat" /></td>
</tr>
<tr>
<td class="auto-style4">Edad:</td>
<td class="auto-style5"><input id="Text3" type="text" name="edad" /></td>
</tr>
<tr>
<td class="auto-style4">Color Favorito:</td>
<td class="auto-style5"><input id="Text4" type="text" name="color" /></td>
</tr>
</table>
</b><br /><br />
<input id="Button1" value="Enviar" type="submit"/>
</form>
</body>
</html>
________
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body style="background-color:lawngreen">
<b>
Estas son las respuestas de lo antes pedido:
<br /><br />
Nombre: <%=Request.QueryString("nombre") %><br />
Apellido Paterno: <%=Request.QueryString("ap_pat")%><br />
Apellido Materno: <%=Request.QueryString("ap_mat")%><br />
Edad:<%=Request.QueryString("edad")%><br />
Color:<%=Request.QueryString("color")%>
</b>
</body>

</html>

Vous aimerez peut-être aussi