SlideShare a Scribd company logo
1 of 24
INTRODUCCIÓN
El presente trabajo se trata de elaborar un programa que permita ingresar datos personales
de una persona o más como nombres y apellidos, dirección, teléfono, email además consta
de 5 botones Nuevo, Guardar, Cancelar, Eliminar y Limpiar. Permitirá al estudiante en
programar en HTML y visual Basic a través con los diferentes código de programación de la
diversa gama que ofrece visual estudio 2012, además conocimiento básico en HTML para
ingresar título, imágenes. Consta de una principal llamada conexión y consta de 5 clases
para respectivo lugar y también de otros formularios. La diferencia del anterior es que
trabaja con base de datos y un académico.bak.
Código en HTML.
Formulario Principal (Defaul.aspx)
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb"
Inherits="universidadesuap._Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style1 {
width: 100%;
}
.style2
{
}
.style3
{
width: 300px;
}
</style>
</head>
<body>
<form id="form1" runat="server">
<table class="style1" width="1000px" bgcolor="#FFFF99">
<tr>
<td align="center" class="style2" colspan="2"
bgcolor="#FF9933">
<br />
<img alt="" src="imágenes/filialtumbes.jpg" style="width:
562px; height: 170px"
width="1000" /><br />
<br />
</td>
</tr>
<tr align="center"><td colspan="2">
<FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red">
<span lang="es">
<br />
Universidad Privada Alas Peruanas - Filial Tumbes
</span></td></tr>
<tr>
<td class="style3" bgcolor="#CCFFCC">
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink>
<br />
<span lang="es"><a href="Alumnos.aspx" style= "text-
decoration: none">ALUMNOS.</a><br />
<a href="Escuela.aspx" style= "text-decoration:
none">ESCUELA</a><br />
<a href="Facultad.aspx" style= "text-decoration:
none">FACULTADES.</a><br />
<a href="Matrículas.aspx" style= "text-decoration:
none">MATRÍCULAS.</a><br />
<a href="Sugerencias.aspx" style= "text-decoration:
none">SUGERENCIAS.</a></span><br />
</td>
<td align="center" bgcolor="#FFFFCC">
<asp:Label ID="Label1" runat="server" Font-Bold="True"
Text="Página de Bienvenida"></asp:Label>
<br />
</td>
</tr>
</table>
<div>
<br />
<a href="http://www.Google.com" target="main"
style= "text-decoration: none; font-family: Impact; background-
color: #FF8040;">Abri Google. </a><br />
<br />
</div>
</form>
</body>
</html>
Formulario Alumnos.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Alumnos.aspx.vb"
Inherits="universidadesuap.WebForm1" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
}
.style5
{
width: 397px;
}
.style6
{
width: 78px;
}
</style>
</head>
<body bgcolor="#ff9900">
<form id="form1" runat="server">
<div>
<table class="style1" width="100%" bgcolor="#99FFCC" >
<tr>
<td colspan="2" align="center" bgcolor="#FF8040">
<br />
<img alt="" src="imágenes/filialtumbes.jpg"
style="width: 562px; height: 170px" /><br />
<br />
</td>
</tr>
<tr align="center">
<td class="style2" colspan="2">
<FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red">
<span lang="es">
<br />
Universidad Privada Alas Peruanas - Filial Tumbes<br />
</span></td>
</tr>
<tr>
<td class="style6" valign="top">
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink>
<br />
<span lang="es"><a href="Alumnos.aspx" style= "text-
decoration: none">ALUMNOS.</a><br />
<a href="Escuela.aspx" style= "text-decoration:
none">ESCUELA</a><br />
<a href="Facultad.aspx" style= "text-decoration:
none">FACULTADES.</a><br />
<a href="Matrículas.aspx" style= "text-decoration:
none">MATRÍCULAS.</a><br />
<a href="Sugerencias.aspx" style= "text-decoration:
none">SUGERENCIAS.</a></span></td>
<td class="style5" style="font-size: x-small; font-family:
Arial">
<span lang="es"><h2>Registro De Alumnos
Uapino</span><h2><br />
<span lang="es">&nbsp; Código Del Alumno:&nbsp;
<asp:TextBox ID="txtcodalumn" runat="server"
Height="35px" Width="220px"
BorderColor="#333300" Font-Bold="False" Font-
Italic="False"
Font-Names="Arial Narrow" BackColor="#FFFF99" Font-
Size="Larger"
Enabled="False"></asp:TextBox>
<br />
<br />
&nbsp; Apellidos Y Nombres:&nbsp;
<asp:TextBox ID="txtan" runat="server" Height="35px"
Width="220px"
BorderColor="#333300" Font-Bold="False" Font-
Italic="False"
Font-Names="Arial Narrow" BackColor="#FFFF99" Font-
Size="Large"></asp:TextBox>
<br />
<br />
&nbsp; Sexo:&nbsp;<b><asp:DropDownList ID="lstsex"
runat="server">
<asp:ListItem Value="M">Masculino</asp:ListItem>
<asp:ListItem Value="F">Femenino</asp:ListItem>
</asp:DropDownList>
</b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<br />
<br />
&nbsp; Dirección:&nbsp;
<asp:TextBox ID="txtdir" runat="server" Height="35px"
Width="320px"
BorderColor="#333300" Font-Bold="False" Font-
Italic="False"
Font-Names="Arial Narrow"
BackColor="#FFFF99"></asp:TextBox>
<br />
<br />
&nbsp; Teléfono:&nbsp;
<asp:TextBox ID="txttel" runat="server" Height="35px"
Width="320px"
BorderColor="#333300" Font-Bold="False" Font-
Italic="False"
Font-Names="Arial Narrow"
BackColor="#FFFF99"></asp:TextBox>
<br />
<br />
&nbsp; Email:
<asp:TextBox ID="txtemail" runat="server" Height="35px"
Width="320px"
BorderColor="#333300" Font-Bold="False" Font-
Italic="False"
Font-Names="Arial Narrow" BackColor="#FFFF99" Font-
Size="Medium"></asp:TextBox>
<br />
<br />
<br />
<span lang="es">
<center><asp:Button ID="btnnuevo" runat="server"
Text="Nuevo" />&nbsp;
<asp:Button ID="btnguardar" runat="server"
Text="Guardar" />&nbsp;
<asp:Button ID="btnmodificar" runat="server"
Text="Modificar" />&nbsp;
<asp:Button ID="btneliminar" runat="server"
Text="Eliminar" /></center>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;
<asp:Label ID="lblm" runat="server" Text="Label"
EnableTheming="True"
Visible="False"></asp:Label>
<br />
<br />
</span>
</td>
</tr>
</table>
</div>
<center><font color="red"><h1>Lista De Alumnos Registrado</h1>
<p>
<asp:GridView ID="GridView1" runat="server"
DataKeyNames="Alu_Codigo"
CellPadding="4" ForeColor="#333333" GridLines="None">
<RowStyle BackColor="#EFF3FB" />
<Columns>
<asp:CommandField ShowSelectButton="True"
ButtonType="Image"
SelectImageUrl="~/imágenes/Select.png" >
<HeaderStyle Height="5px" Width="5px" />
</asp:CommandField>
</Columns>
<FooterStyle BackColor="#507CD1" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True"
ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
</p></center></font>
</form>
<a href="http://www.Facebook.com" target="main"
style= "text-decoration: none; font-family: Impact; background-
color: #FF8040;">Abri Facebook. </a><br />
<br />
</body>
</html>
Formulario Escuela.aspx
<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Escuela.aspx.vb"
Inherits="universidadesuap.WebForm2" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
}
.style4
{
width: 165px;
}
</style>
</head>
<body bgcolor="#ccffff">
<form id="form1" runat="server">
<table class="style1">
<tr><td colspan="2" align="center"><font color=red>
<br />
<img alt="" src="imágenes/filialtumbes.jpg"
style="width: 569px; height: 170px; margin-right: 0px;"
/><br />
</font></td></tr>
<tr><td colspan="2" align="center">
<FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red">
<span lang="es">
<br />
Universidad Privada Alas Peruanas - Filial Tumbes<br />
</span></td></tr>
<td class="style4" valign="top" bgcolor="#FF9933">
<br />
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink>
<br />
<span lang="es"><a href="Alumnos.aspx" style= "text-
decoration: none">ALUMNOS.</a><br />
<a href="Escuela.aspx" style= "text-decoration:
none">ESCUELA</a><br />
<a href="Facultad.aspx" style= "text-decoration:
none">FACULTADES.</a><br />
<a href="Matrículas.aspx" style= "text-decoration:
none">MATRÍCULAS.</a><br />
<a href="Sugerencias.aspx" style= "text-decoration:
none">SUGERENCIAS.</a></span><br />
</td>
<td>
<span lang="es">
<br />
<b>&nbsp; Registro De Escuela<br />
</b>
&nbsp;<br />
<br />
&nbsp;
Código:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="txtcod" runat="server" Height="34px"
Width="390px"
Enabled="False"></asp:TextBox>
<br />
<br />
&nbsp;
Nombre De Escuelas:&nbsp;
<asp:TextBox ID="txtnomb_esc" runat="server" Height="34px"
Width="390px"></asp:TextBox>
<br />
<br />
Facultad&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&
nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="DDLFacultad" runat="server" Height="25px"
style="margin-bottom: 0px" Width="353px">
</asp:DropDownList>
<br />
<br />
<br />
<center><asp:Button ID="btnuevo" runat="server" Text="Nuevo" />
&nbsp;
<asp:Button ID="btagregar" runat="server" Text="Agregar" />
&nbsp;
<asp:Button ID="btnmodificar" runat="server"
Text="modificar" />
&nbsp;
<asp:Button ID="bteliminar" runat="server" Text="Eliminar"
/>
<br />
</span></td>
</tr>
</table>
<table class="style1">
<tr>
<td class="style2" align="center">
<br />
<asp:GridView ID="GridView1" runat="server"
DataKeyNames="esc_codigo"
CellPadding="4" ForeColor="#333333" GridLines="None">
<RowStyle BackColor="#FFFBD6" ForeColor="#333333" />
<Columns>
<asp:CommandField ShowSelectButton="True"
ButtonType="Image"
SelectImageUrl="~/imágenes/Select.png" >
<ItemStyle Height="5px" Width="5px" />
</asp:CommandField>
</Columns>
<FooterStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#FFCC66" ForeColor="#333333"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="Navy" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="White" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
</td>
</tr>
</table>
</form>
<a href="http://www.Hotmail.com" target="main"
style= "text-decoration: none; font-family: Impact; background-
color: #FF8040;">Abri Messenger Hotmail. </a><br />
<br />
</body>
</html>
Formulario Facultad.aspx
<%@ Page Language="vb" AutoEventWireup="false"
CodeBehind="Facultad.aspx.vb" Inherits="universidadesuap.WebForm3" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style2
{
height: 26px;
width: 456px;
}
.style4
{
height: 275px;
width: 434px;
}
.style5
{
width: 122%;
}
.style7
{
width: 507px;
}
.style8
{
width: 50px;
}
</style>
</head>
<body bgcolor="#ccffcc">
<form id="form1" runat="server">
<table class="style5">
<tr><td colspan="2" align="center" bgcolor="#99CCFF">
<img alt="" src="imágenes/filialtumbes.jpg"
style="width: 562px; height: 170px" border="3" /><br />
</td></tr>
<tr><td colspan="2" align="center">
<FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red">
<span lang="es">
<br />
Universidad Privada Alas Peruanas - Filial Tumbes<br />
</span></td></tr>
<tr>
<td class="style8" valign="top" bgcolor="#FFFFCC">
<span lang="es">
<br />
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink>
<br />
<a href="Alumnos.aspx" style= "text-decoration:
none">ALUMNOS.</a><br />
<a href="Escuela.aspx" style= "text-decoration:
none">ESCUELA</a><br />
<a href="Facultad.aspx" style= "text-decoration:
none">FACULTADES.</a><br />
<a href="Matrículas.aspx" style= "text-decoration:
none">MATRÍCULAS.</a><br />
<a href="Sugerencias.aspx" style= "text-decoration:
none">SUGERENCIAS.</a></span><br />
</td>
<td bgcolor="#CC6600" class="style7">
<img src="primordial1.jpg" </span class="style4"
border="3">&nbsp;<span lang="es"><font
color=red
style="font-family: Algerian; overflow: hidden; background-
color: #000080;"><br />
<br />
&nbsp;
Escuela Académico Profesional De Ingeniería De Sistemas
e Informática. <br />
<br />
</font>Registro De Facultad<br />
<br />
<br />
<br />
&nbsp;
Código:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;<asp:TextBox
ID="txtcod" runat="server" Height="34px" Width="227px"
BackColor="#FFFF99" CausesValidation="True"
Enabled="False"></asp:TextBox>&nbsp;
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server"
ControlToValidate="txtcod" Display="Dynamic"
Enabled="False"
ErrorMessage="Falt.Cód"></asp:RequiredFieldValidator>
<br />
<br />
&nbsp;
Nombre De Facultad:&nbsp;
<asp:TextBox ID="txtfac" runat="server" Height="34px"
Width="223px"
BackColor="#FFFF99"></asp:TextBox>
<br />
<br />
<br />
&nbsp;<center><asp:Button ID="btnguardar"
runat="server" Text="Guardar" />&nbsp;
<asp:Button ID="btnModificar" runat="server"
Text="Modificar" />&nbsp;
<asp:Button ID="btneliminar" runat="server" Text="Eliminar"
/>&nbsp;
<asp:Button ID="btnnuevo" runat="server" Text="Nuevo"
/>&nbsp;<asp:Button
ID="btncancelar" runat="server" Text="Cancelar" />
<br />
<b><font color="red">
<asp:Label ID="lblm" runat="server" EnableTheming="True"
Text="Label"
Visible="False"></asp:Label>
</font></b></center>
</span></td></img>
</tr>
</table>
<table class="style5">
<tr>
<td class="style2" align="center" bgcolor="#CC9900">
<br />
<asp:GridView ID="GridView1" runat="server"
DataKeyNames="fac_codigo"
CellPadding="4" ForeColor="#333333" GridLines="None">
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<Columns>
<asp:CommandField ShowSelectButton="True"
ButtonType="Image"
SelectImageUrl="~/imágenes/Select.png" />
</Columns>
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#999999" />
<AlternatingRowStyle BackColor="White"
ForeColor="#284775" />
</asp:GridView>
<br />
</td>
<td>
&nbsp;</td>
</tr>
</table>
</form>
<br />
<a href="http://www.Youtube.com" target="main"
style= "text-decoration: none; font-family: Impact; background-
color: #FF8040;">Abrir Youtube. </a><br />
<br />
</body>
</html>
Formulario Matriculas.aspx
<%@ Page Language="vb" AutoEventWireup="false"
CodeBehind="Matrículas.aspx.vb" Inherits="universidadesuap.WebForm4" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
}
.style3
{
width: 146px;
}
</style>
</head>
<body bgcolor="#669999">
<form id="form1" runat="server">
<div>
<table class="style1" bgcolor="#996633">
<tr>
<td class="style2" align="center" colspan="2"
bgcolor="#FF9933">
<img alt="" src="imágenes/filialtumbes.jpg"
style="width: 562px; height: 170px"
width="1000" /><br />
</td>
</tr>
<tr>
<td colspan="2">
<span lang="es">
<br />
<FONT FACE="Harlow Solid Italic" SIZE=6
COLOR="red">
Universidad Privada Alas Peruanas - Filial
Tumbes<br />
</center></span></td>
</tr>
<tr>
<td class="style3" valign="top" bgcolor="#99FF99">
<br />
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink>
<br />
<span lang="es"><a href="Alumnos.aspx" style= "text-
decoration: none">ALUMNOS.</a><br />
<a href="Escuela.aspx" style= "text-decoration:
none">ESCUELA</a><br />
<a href="Facultad.aspx" style= "text-decoration:
none">FACULTADES.</a><br />
<a href="Matrículas.aspx" style= "text-decoration:
none">MATRÍCULAS.</a><br />
<a href="Sugerencias.aspx" style= "text-decoration:
none">SUGERENCIAS.</a></span><br />
</td>
<td class="style2">
<font face="Bernard MT Condensed" SIZE=4 COLOR="black">
<span lang="es"><center>
<br />
Registro De Matrículas Del Alumnos<br />
</center><br />
<br />
<br />
&nbsp;&nbsp; Número De Matrícula: &nbsp;
<asp:TextBox ID="txtnumatric" runat="server"
Height="30px" Width="331px"
BackColor="#FFCC66"
BorderColor="#669900"></asp:TextBox>
<br />
<br />
&nbsp;&nbsp; Semestre De Matrícula:&nbsp;
<asp:TextBox ID="txtsemmatric" runat="server"
Height="30px" Width="331px"
BackColor="#FFCC66"
BorderColor="#669900"></asp:TextBox>
<br />
<br />
&nbsp;&nbsp; Fecha De Matrícula:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="txtfecmatric" runat="server"
Height="30px" Width="331px"
BackColor="#FFCC66"
BorderColor="#669900"></asp:TextBox>
<br />
<br />
&nbsp;&nbsp; Código De Alumno:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="DropDownList1" runat="server"
Height="40px" Width="325px">
</asp:DropDownList>
<br />
<br />
&nbsp;&nbsp;
Escuela&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp
;&nbsp;&nbsp;&nbsp;
<asp:DropDownList ID="DropDownList2" runat="server"
Height="26px" Width="320px">
</asp:DropDownList>
<br />
<br />
&nbsp;&nbsp;
Ciclo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb
sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<asp:TextBox ID="txtciclo" runat="server" Height="30px"
Width="331px"
BackColor="#FFCC66"
BorderColor="#669900"></asp:TextBox>
<br />
<br />
<br />
<center><asp:Button ID="Button1" runat="server"
Text="Nuevo" />&nbsp;
<asp:Button ID="Button2" runat="server" Text="Guardar"
/>&nbsp;
<asp:Button ID="Button3" runat="server" Text="Buscar"
/>&nbsp;
<asp:Button ID="Button4" runat="server"
Text="Modificar" />&nbsp;
<asp:Button ID="btneliminar" runat="server"
Text="Eliminar" />
<br />
<br />
</span></td>
</tr>
<tr>
<td class="style3" align="center">
&nbsp;</td>
<td class="style2" align="center">
<br />
<asp:GridView ID="GridView1" runat="server"
DataKeyNames="mat_numero"
CellPadding="4" ForeColor="#333333"
GridLines="None">
<RowStyle BackColor="#E3EAEB" />
<Columns>
<asp:CommandField ShowSelectButton="True"
ButtonType="Image"
SelectImageUrl="~/imágenes/Select.png" >
<ItemStyle Height="5px" Width="5px"
Wrap="False" />
</asp:CommandField>
</Columns>
<FooterStyle BackColor="#1C5E55" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#666666" ForeColor="White"
HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#C5BBAF" Font-
Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#1C5E55" Font-Bold="True"
ForeColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<AlternatingRowStyle BackColor="White" />
</asp:GridView>
<br />
</td>
</tr>
</table>
</div>
</form>
<br />
<a href="http://www.softonic.com" target="main"
style= "text-decoration: none; font-family: Impact; background-
color: #FF8040;">Abri Softonic. </a><br />
<br />
</body>
</html>
Formulario Sugerecias.aspx
<%@ Page Language="vb" AutoEventWireup="false"
CodeBehind="Sugerencias.aspx.vb" Inherits="universidadesuap.WebForm5" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
.style1
{
width: 100%;
}
.style2
{
}
.style3
{
width: 222px;
}
.style4
{
width: 465px;
}
</style>
</head>
<body alink="White" bgcolor="#999966">
<form id="form1" runat="server">
<div>
<table class="style1" bgcolor="#FFFFCC">
<tr align="center"><td colspan="2" bgcolor="#FF9933">
<span lang="es">
<br />
<img alt="" src="imágenes/filialtumbes.jpg"
style="width: 562px; height: 170px" /><br />
<br />
</span></td></tr>
<tr>
<td valign="top" bgcolor="#CCFFCC" class="style3"><span lang="es">
<br />
<asp:HyperLink ID="HyperLink1" runat="server"
NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink>
<br />
<a href="Alumnos.aspx" style= "text-decoration:
none">ALUMNOS.</a><br />
<a href="Escuela.aspx" style= "text-decoration:
none">ESCUELA</a><br />
<a href="Facultad.aspx" style= "text-decoration:
none">FACULTADES.</a><br />
<a href="Matrículas.aspx" style= "text-decoration:
none">MATRÍCULAS.</a><br />
<a href="Sugerencias.aspx" style= "text-decoration:
none">SUGERENCIAS.</a></span><br />
</td>
<td class="style4">
<span lang="es">
<font color="blue">
<br />
<br />
Sugerencia Del Alumno Uapino<br /></font>
<br />
&nbsp;&nbsp; Número De
Sugerencia:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;
<asp:TextBox ID="txtsugerencia" runat="server" Height="33px"
Width="406px"
BackColor="#FFFFCC" Enabled="False"></asp:TextBox>
<br />
<br />
&nbsp;&nbsp; Descripción De La Sugerencia:&nbsp;
<asp:TextBox ID="TextBox2" runat="server" Height="33px"
Width="406px"
BackColor="#FFFFCC"></asp:TextBox>
<br />
<br />
</span>
<center><asp:Button ID="btnuevo" runat="server" Text="Nuevo"
/>&nbsp;
&nbsp;
<asp:Button ID="btalmacenar" runat="server" Text="Almacenar"
/>&nbsp;
<asp:Button ID="bteliminar" runat="server" Text="Eliminar" />&nbsp;
<asp:Button ID="BtnModificar" runat="server" Text="Modificar" />
<br />
</td></tr>
<tr>
<td colspan="2" class="style2" align="center">
<br />
<asp:GridView ID="GridView1" runat="server"
DataKeyNames="sug_numero">
<Columns>
<asp:CommandField ShowSelectButton="True"
ButtonType="Image"
SelectImageUrl="~/imágenes/Select.png" />
</Columns>
</asp:GridView>
<br />
</td>
</tr>
</table>
</div>
</form>
<p>
&nbsp;</p>
<p>
<a href="http://www.uap.edu.pe/" target="main"
style= "text-decoration: none; font-family: Impact; background-
color: #FF8040;">Abri Comunidad UAP. </a><br />
</p>
</body>
</html>
Código De Clases Visual Basic
Clase Conexión.vb
Imports System.Data.SqlClient
Module Module1
Public con As New SqlConnection
Public Const cadena As String = "Data Source=jhonysqlexpress;Initial
Catalog=Academico;integrated security=true"
End Module
Clase Alumno.vb
Imports System.Data.SqlClient
Public Class Alumno
Public Alu_codigo As String
Public Alu_ApeNom As String
Public Alu_Sexo As String
Public Alu_Direccion As String
Public Alu_Telefono As String
Public Alu_Email As String
Dim z As String
Public cadena As String
Public Sub Grabar_Alumno()
Dim cmdgrabar As SqlCommand
Dim sql As String = "insert into Alumnos values('" + Alu_codigo +
"','" + Alu_ApeNom + "','" + Alu_Sexo + "','" + Alu_Direccion + "','" +
Alu_Telefono + "','" + Alu_Email + "')"
Try
con = New SqlConnection(cadena)
con.Open()
cmdgrabar = New SqlCommand(sql, con)
z = cmdgrabar.ExecuteScalar()
cmdgrabar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, z)
End Try
End Sub
Public Sub Modificar_Alumno()
Dim cmdmodificar As SqlCommand
Dim sql As String = "update Alumnos set Alu_ApeNom='" + Alu_ApeNom
+ "',Alu_Sexo='" + Alu_Sexo + "',Alu_Dirección='" + Alu_Direccion +
"',Alu_Telefono='" + Alu_Telefono + "',Alu_email='" + Alu_Email + "' where
Alu_Codigo='" + Alu_codigo + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Sub Eliminar_Alumno()
Dim cmdmodificar As SqlCommand
Dim sql As String = "delete from Alumnos where Alu_Codigo='" +
Alu_codigo + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Function Mostrar_Alumno()
Mostrar_Alumno = New DataTable
Dim damostrar As New SqlDataAdapter("select * from Alumnos", con)
damostrar.Fill(Mostrar_Alumno)
End Function
End Class
Clase Escuela.vb
Imports System.Data.SqlClient
Public Class Escuela
Public esc_codigo As String
Public esc_Nombre As String
Public fac_codigo As String
Dim z As String
Public cadena As String
Public Sub Grabar_Escuela()
Dim cmdgrabar As SqlCommand
Dim sql As String = "insert into Escuela values('" + esc_codigo +
"','" + esc_Nombre + "','" + fac_codigo + "')"
Try
con = New SqlConnection(cadena)
con.Open()
cmdgrabar = New SqlCommand(sql, con)
z = cmdgrabar.ExecuteScalar()
cmdgrabar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, z)
End Try
End Sub
Public Sub Modificar_Escuela()
Dim cmdmodificar As SqlCommand
Dim sql As String = "update Escuela set esc_nombre='" + esc_Nombre
+ "',Fac_codigo='" + fac_codigo + "' where esc_Codigo='" + esc_codigo + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Sub Eliminar_Escuela()
Dim cmdmodificar As SqlCommand
Dim sql As String = "delete from Escuela where esc_Codigo='" +
esc_codigo + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Function Mostrar_Escuela()
Mostrar_Escuela = New DataTable
Dim damostrar As New SqlDataAdapter("select * from escuela", con)
damostrar.Fill(Mostrar_Escuela)
End Function
End Class
Clase Facultad.vb
Imports System.Data.SqlClient
Public Class Facultad
Public fac_codigo As String
Public fac_Nombre As String
Dim z As String
Public cadena As String
Public Sub Grabar_Facultad()
Dim cmdgrabar As SqlCommand
Dim sql As String = "insert into Facultades values('" + fac_codigo
+ "','" + fac_Nombre + "')"
Try
con = New SqlConnection(cadena)
con.Open()
cmdgrabar = New SqlCommand(sql, con)
z = cmdgrabar.ExecuteScalar()
cmdgrabar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, z)
End Try
End Sub
Public Sub Modificar_Facultad()
Dim cmdmodificar As SqlCommand
Dim sql As String = "update Facultades set fac_nombre='" +
fac_Nombre + "' WHERE Fac_codigo='"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Sub Eliminar_Facultad()
Dim cmdmodificar As SqlCommand
Dim sql As String = "delete from Facultades where fac_Codigo='" +
fac_codigo + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Function Mostrar_Facultad()
Mostrar_Facultad = New DataTable
Dim damostrar As New SqlDataAdapter("select * from Facultades",
con)
damostrar.Fill(Mostrar_Facultad)
End Function
End Class
Clase Matricula.vb
Imports System.Data.SqlClient
Public Class Matricula
Public mat_numero As String
Public mat_semestre As String
Public mat_fecha As String
Public esc_codigo As String
Public alu_codigo As String
Public ciclo As String
Dim z As String
Public cadena As String
Public Sub Grabar_Matricula()
Dim cmdgrabar As SqlCommand
Dim sql As String = "insert into
Matricula(mat_numero,mat_fecha,mat_semestre,alu_codigo,esc_codigo,ciclo)
values('" + mat_numero + "',CONVERT (date, SYSDATETIME()),'" + mat_semestre
+ "','" + alu_codigo + "','" + esc_codigo + "','" + ciclo + "');select
scope_identity()"
Try
con = New SqlConnection(cadena)
con.Open()
cmdgrabar = New SqlCommand(sql, con)
z = cmdgrabar.ExecuteScalar()
cmdgrabar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, z)
End Try
End Sub
Public Sub Modificar_Matricula()
Dim cmdmodificar As SqlCommand
Dim sql As String = "update Matricula set mat_semestre='" +
mat_semestre + "',mat_fecha=CONVERT (date, SYSDATETIME()), esc_codigo='" +
esc_codigo + "',alu_codigo='" + alu_codigo + "',ciclo='" + ciclo + "' where
mat_numero='" + mat_numero + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Sub Eliminar_Matricula()
Dim cmdmodificar As SqlCommand
Dim sql As String = "delete from Matricula where Mat_Numero='" +
mat_numero + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Function Mostrar_Matricula()
Mostrar_Matricula = New DataTable
Dim damostrar As New SqlDataAdapter("select * from matriculas",
con)
damostrar.Fill(Mostrar_Matricula)
End Function
End Class
Clase Sugerencia.vb
Imports System.Data.SqlClient
Public Class Sugerencia
Public sug_numero As String
Public sug_descripcion As String
Dim z As String
Public cadena As String
Public Sub Grabar_sugerencia()
Dim cmdgrabar As SqlCommand
Dim sql As String = "insert into sugerencia values('" + sug_numero
+ "','" + sug_descripcion + "');select scope_identity()"
Try
con = New SqlConnection(cadena)
con.Open()
cmdgrabar = New SqlCommand(sql, con)
z = cmdgrabar.ExecuteScalar()
cmdgrabar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, z)
End Try
End Sub
Public Sub Modificar_sugerencia()
Dim cmdmodificar As SqlCommand
Dim sql As String = "update sugerencia set sug_descripcion='" +
sug_descripcion + "' WHERE sug_numero='" + sug_numero + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Sub Eliminar_sugerencia()
Dim cmdmodificar As SqlCommand
Dim sql As String = "delete from sugerencia where sug_numero='" +
sug_numero + "'"
Try
con = New SqlConnection(cadena)
con.Open()
cmdmodificar = New SqlCommand(sql, con)
cmdmodificar.ExecuteNonQuery()
cmdmodificar.Dispose()
con.Close()
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error")
End Try
End Sub
Public Function Mostrar_sugerencia()
Mostrar_sugerencia = New DataTable
Dim damostrar As New SqlDataAdapter("select * from sugerencia",
con)
damostrar.Fill(Mostrar_sugerencia)
End Function
End Class
Diseño De Cada Formulario
Diseño Principal Default.aspx
Diseño Alumnos.aspx
Diseño Escuela.apsx
Diseño Facultad.aspx
Diseño Matricula.aspx
Diseño Sugerencias.aspx

More Related Content

What's hot

Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckAnthony Montalbano
 
Understanding email hacks - Litmus Live London TEDC16
Understanding email hacks - Litmus Live London TEDC16Understanding email hacks - Litmus Live London TEDC16
Understanding email hacks - Litmus Live London TEDC16Mark Robbins
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]Dalibor Gogic
 
Hypertext_markup_language
Hypertext_markup_languageHypertext_markup_language
Hypertext_markup_languageIshaq Shinwari
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practicalNitesh Dubey
 
Rounded Shaped Box Example 1
Rounded Shaped Box Example 1Rounded Shaped Box Example 1
Rounded Shaped Box Example 1Sibananda Panda
 
Fork forms library
Fork forms libraryFork forms library
Fork forms libraryYoniWeb
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you needDipen Parmar
 
Supercharged HTML & CSS
Supercharged HTML & CSSSupercharged HTML & CSS
Supercharged HTML & CSSMax Kraszewski
 
Visualforce css developer guide(by forcetree.com)
Visualforce css developer guide(by forcetree.com)Visualforce css developer guide(by forcetree.com)
Visualforce css developer guide(by forcetree.com)Edwin Vijay R
 
Creating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSCreating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSBG Java EE Course
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop NotesPamela Fox
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.docbutest
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup languageBasmaa Mostafa
 
http://kariwebsite.com/
http://kariwebsite.com/http://kariwebsite.com/
http://kariwebsite.com/kariwebsite
 
Customizing the Appearance and HTML Output of Visualforce Pages
Customizing the Appearance and HTML Output of VisualforcePages Customizing the Appearance and HTML Output of VisualforcePages
Customizing the Appearance and HTML Output of Visualforce Pages Mohammed Safwat Abu Kwaik
 
Html project report12
Html project report12Html project report12
Html project report12varunmaini123
 
Herritable Bond 1825 Alexander Mackenzie.Txt.Xhtml
Herritable Bond 1825 Alexander Mackenzie.Txt.XhtmlHerritable Bond 1825 Alexander Mackenzie.Txt.Xhtml
Herritable Bond 1825 Alexander Mackenzie.Txt.XhtmlHOME
 

What's hot (20)

Your Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages SuckYour Custom WordPress Admin Pages Suck
Your Custom WordPress Admin Pages Suck
 
Understanding email hacks - Litmus Live London TEDC16
Understanding email hacks - Litmus Live London TEDC16Understanding email hacks - Litmus Live London TEDC16
Understanding email hacks - Litmus Live London TEDC16
 
#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]#3 HTML & CSS [know-how]
#3 HTML & CSS [know-how]
 
Hypertext_markup_language
Hypertext_markup_languageHypertext_markup_language
Hypertext_markup_language
 
Web Technology Lab files with practical
Web Technology Lab  files with practicalWeb Technology Lab  files with practical
Web Technology Lab files with practical
 
Rounded Shaped Box Example 1
Rounded Shaped Box Example 1Rounded Shaped Box Example 1
Rounded Shaped Box Example 1
 
(SEO) Search Engine Optimization
(SEO) Search Engine Optimization(SEO) Search Engine Optimization
(SEO) Search Engine Optimization
 
Fork forms library
Fork forms libraryFork forms library
Fork forms library
 
Html css java script basics All about you need
Html css java script basics All about you needHtml css java script basics All about you need
Html css java script basics All about you need
 
Tags
TagsTags
Tags
 
Supercharged HTML & CSS
Supercharged HTML & CSSSupercharged HTML & CSS
Supercharged HTML & CSS
 
Visualforce css developer guide(by forcetree.com)
Visualforce css developer guide(by forcetree.com)Visualforce css developer guide(by forcetree.com)
Visualforce css developer guide(by forcetree.com)
 
Creating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSSCreating Web Sites with HTML and CSS
Creating Web Sites with HTML and CSS
 
HTML & CSS Workshop Notes
HTML & CSS Workshop NotesHTML & CSS Workshop Notes
HTML & CSS Workshop Notes
 
Intermediate Web Design.doc
Intermediate Web Design.docIntermediate Web Design.doc
Intermediate Web Design.doc
 
HTML - hypertext markup language
HTML - hypertext markup languageHTML - hypertext markup language
HTML - hypertext markup language
 
http://kariwebsite.com/
http://kariwebsite.com/http://kariwebsite.com/
http://kariwebsite.com/
 
Customizing the Appearance and HTML Output of Visualforce Pages
Customizing the Appearance and HTML Output of VisualforcePages Customizing the Appearance and HTML Output of VisualforcePages
Customizing the Appearance and HTML Output of Visualforce Pages
 
Html project report12
Html project report12Html project report12
Html project report12
 
Herritable Bond 1825 Alexander Mackenzie.Txt.Xhtml
Herritable Bond 1825 Alexander Mackenzie.Txt.XhtmlHerritable Bond 1825 Alexander Mackenzie.Txt.Xhtml
Herritable Bond 1825 Alexander Mackenzie.Txt.Xhtml
 

Similar to Tercer trabajo de drapi 02

HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LABHTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LABpriya Nithya
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Joao Lucas Santana
 
Boston Computing Review - Ruby on Rails
Boston Computing Review - Ruby on RailsBoston Computing Review - Ruby on Rails
Boston Computing Review - Ruby on RailsJohn Brunswick
 
MCSL016 IGNOU SOLVED LAB MANUAL
MCSL016 IGNOU SOLVED LAB MANUALMCSL016 IGNOU SOLVED LAB MANUAL
MCSL016 IGNOU SOLVED LAB MANUALDIVYA SINGH
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmMaria S Rivera
 
PracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docx
PracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docxPracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docx
PracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docxChantellPantoja184
 
جيفيرا باي الساحل الشمالي
جيفيرا باي الساحل الشماليجيفيرا باي الساحل الشمالي
جيفيرا باي الساحل الشماليReda Hassan
 
10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]
10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]
10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]Chris Toohey
 
Ss 36932418[1]
Ss 36932418[1]Ss 36932418[1]
Ss 36932418[1]Ya Jinda
 
Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 formH K
 
Flash templates for Joomla!
Flash templates for Joomla!Flash templates for Joomla!
Flash templates for Joomla!Herman Peeren
 
Flash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nlFlash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nlJoomla!Days Netherlands
 
Practical PHP by example Jan Leth-Kjaer
Practical PHP by example   Jan Leth-KjaerPractical PHP by example   Jan Leth-Kjaer
Practical PHP by example Jan Leth-KjaerCOMMON Europe
 
JavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptxJavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptxVivekBaghel30
 
01. 02. html web engineering html &amp; introduction
01. 02. html   web engineering html &amp; introduction01. 02. html   web engineering html &amp; introduction
01. 02. html web engineering html &amp; introductionN Gull
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2fishwarter
 

Similar to Tercer trabajo de drapi 02 (20)

HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LABHTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
HTTP REQUEST RESPONSE OBJECT - WEB APPLICATION USING C# LAB
 
Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)Desenvolvimento web com Ruby on Rails (parte 2)
Desenvolvimento web com Ruby on Rails (parte 2)
 
Boston Computing Review - Ruby on Rails
Boston Computing Review - Ruby on RailsBoston Computing Review - Ruby on Rails
Boston Computing Review - Ruby on Rails
 
MCSL016 IGNOU SOLVED LAB MANUAL
MCSL016 IGNOU SOLVED LAB MANUALMCSL016 IGNOU SOLVED LAB MANUAL
MCSL016 IGNOU SOLVED LAB MANUAL
 
Caracteristicas Basicas De Htlm
Caracteristicas Basicas De HtlmCaracteristicas Basicas De Htlm
Caracteristicas Basicas De Htlm
 
PracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docx
PracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docxPracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docx
PracticeDataSetCh4.savPracticeOutput.2.spvoutputViewer00.docx
 
جيفيرا باي الساحل الشمالي
جيفيرا باي الساحل الشماليجيفيرا باي الساحل الشمالي
جيفيرا باي الساحل الشمالي
 
Introducing YUI
Introducing YUIIntroducing YUI
Introducing YUI
 
1.1 html lec 1
1.1 html lec 11.1 html lec 1
1.1 html lec 1
 
10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]
10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]
10 Things You're Not Doing [IBM Lotus Notes Domino Application Development]
 
Ss 36932418[1]
Ss 36932418[1]Ss 36932418[1]
Ss 36932418[1]
 
Html basics 10 form
Html basics 10 formHtml basics 10 form
Html basics 10 form
 
Javascript
JavascriptJavascript
Javascript
 
Flash templates for Joomla!
Flash templates for Joomla!Flash templates for Joomla!
Flash templates for Joomla!
 
Flash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nlFlash Templates- Joomla!Days NL 2009 #jd09nl
Flash Templates- Joomla!Days NL 2009 #jd09nl
 
Practical PHP by example Jan Leth-Kjaer
Practical PHP by example   Jan Leth-KjaerPractical PHP by example   Jan Leth-Kjaer
Practical PHP by example Jan Leth-Kjaer
 
JavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptxJavaScriptL18 [Autosaved].pptx
JavaScriptL18 [Autosaved].pptx
 
01. 02. html web engineering html &amp; introduction
01. 02. html   web engineering html &amp; introduction01. 02. html   web engineering html &amp; introduction
01. 02. html web engineering html &amp; introduction
 
Html and css
Html and cssHtml and css
Html and css
 
The Django Web Application Framework 2
The Django Web Application Framework 2The Django Web Application Framework 2
The Django Web Application Framework 2
 

More from Jhon Silva Penekita

Quemando cd o dvd y generando copias con nero burning rom
Quemando cd o dvd y generando copias con nero burning romQuemando cd o dvd y generando copias con nero burning rom
Quemando cd o dvd y generando copias con nero burning romJhon Silva Penekita
 
Buscar archivos en windows 7 por extensiones
Buscar archivos en windows 7 por extensionesBuscar archivos en windows 7 por extensiones
Buscar archivos en windows 7 por extensionesJhon Silva Penekita
 
Examen resuelto de II unidad de computación
Examen resuelto de II unidad de computaciónExamen resuelto de II unidad de computación
Examen resuelto de II unidad de computaciónJhon Silva Penekita
 
Solución de valuación de tercero y cuarto de secundaria
Solución de valuación de tercero y cuarto de secundariaSolución de valuación de tercero y cuarto de secundaria
Solución de valuación de tercero y cuarto de secundariaJhon Silva Penekita
 
Examen mensual de computación de primer grado de secundaria
Examen mensual de computación de primer grado de secundariaExamen mensual de computación de primer grado de secundaria
Examen mensual de computación de primer grado de secundariaJhon Silva Penekita
 
Evaluación de tercero y cuarto de secundaria
Evaluación de tercero y cuarto de secundariaEvaluación de tercero y cuarto de secundaria
Evaluación de tercero y cuarto de secundariaJhon Silva Penekita
 
Creación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundariaCreación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundariaJhon Silva Penekita
 
Creación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundariaCreación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundariaJhon Silva Penekita
 
Clase 4 para primero y segundo de secundaria.
Clase 4 para primero y segundo de secundaria.Clase 4 para primero y segundo de secundaria.
Clase 4 para primero y segundo de secundaria.Jhon Silva Penekita
 

More from Jhon Silva Penekita (20)

Cmd
CmdCmd
Cmd
 
Quemando cd o dvd y generando copias con nero burning rom
Quemando cd o dvd y generando copias con nero burning romQuemando cd o dvd y generando copias con nero burning rom
Quemando cd o dvd y generando copias con nero burning rom
 
Buscar archivos en windows 7 por extensiones
Buscar archivos en windows 7 por extensionesBuscar archivos en windows 7 por extensiones
Buscar archivos en windows 7 por extensiones
 
Criterio de búsqueda
Criterio de búsquedaCriterio de búsqueda
Criterio de búsqueda
 
Examen resuelto de II unidad de computación
Examen resuelto de II unidad de computaciónExamen resuelto de II unidad de computación
Examen resuelto de II unidad de computación
 
Solución de valuación de tercero y cuarto de secundaria
Solución de valuación de tercero y cuarto de secundariaSolución de valuación de tercero y cuarto de secundaria
Solución de valuación de tercero y cuarto de secundaria
 
Examen mensual de computación de primer grado de secundaria
Examen mensual de computación de primer grado de secundariaExamen mensual de computación de primer grado de secundaria
Examen mensual de computación de primer grado de secundaria
 
Evaluación de tercero y cuarto de secundaria
Evaluación de tercero y cuarto de secundariaEvaluación de tercero y cuarto de secundaria
Evaluación de tercero y cuarto de secundaria
 
Creación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundariaCreación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundaria
 
Creacion de carpeta
Creacion de carpetaCreacion de carpeta
Creacion de carpeta
 
Creación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundariaCreación de carpeta en windows 7 para tercero y cuarto de secundaria
Creación de carpeta en windows 7 para tercero y cuarto de secundaria
 
Clase 4 para primero y segundo de secundaria.
Clase 4 para primero y segundo de secundaria.Clase 4 para primero y segundo de secundaria.
Clase 4 para primero y segundo de secundaria.
 
Introducción
IntroducciónIntroducción
Introducción
 
Marcell
MarcellMarcell
Marcell
 
índice De masa corporal
índice De masa corporalíndice De masa corporal
índice De masa corporal
 
Edad media
Edad mediaEdad media
Edad media
 
Cmd o dos
Cmd o dosCmd o dos
Cmd o dos
 
Semana 1
Semana 1Semana 1
Semana 1
 
Evaluación
EvaluaciónEvaluación
Evaluación
 
clase 3
clase 3clase 3
clase 3
 

Recently uploaded

Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Bookingroncy bisnoi
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfJiananWang21
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueBhangaleSonal
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTbhaskargani46
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityMorshed Ahmed Rahath
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaOmar Fathy
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startQuintin Balsdon
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...SUHANI PANDEY
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXssuser89054b
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptDineshKumar4165
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VDineshKumar4165
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptMsecMca
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxJuliansyahHarahap1
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdfKamal Acharya
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationBhangaleSonal
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapRishantSharmaFr
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Arindam Chakraborty, Ph.D., P.E. (CA, TX)
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...roncy bisnoi
 

Recently uploaded (20)

Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance BookingCall Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
Call Girls Wakad Call Me 7737669865 Budget Friendly No Advance Booking
 
data_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdfdata_management_and _data_science_cheat_sheet.pdf
data_management_and _data_science_cheat_sheet.pdf
 
Double Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torqueDouble Revolving field theory-how the rotor develops torque
Double Revolving field theory-how the rotor develops torque
 
Generative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPTGenerative AI or GenAI technology based PPT
Generative AI or GenAI technology based PPT
 
A Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna MunicipalityA Study of Urban Area Plan for Pabna Municipality
A Study of Urban Area Plan for Pabna Municipality
 
Introduction to Serverless with AWS Lambda
Introduction to Serverless with AWS LambdaIntroduction to Serverless with AWS Lambda
Introduction to Serverless with AWS Lambda
 
Design For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the startDesign For Accessibility: Getting it right from the start
Design For Accessibility: Getting it right from the start
 
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
VIP Model Call Girls Kothrud ( Pune ) Call ON 8005736733 Starting From 5K to ...
 
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
 
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak HamilCara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
Cara Menggugurkan Sperma Yang Masuk Rahim Biyar Tidak Hamil
 
Thermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.pptThermal Engineering -unit - III & IV.ppt
Thermal Engineering -unit - III & IV.ppt
 
Thermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - VThermal Engineering-R & A / C - unit - V
Thermal Engineering-R & A / C - unit - V
 
notes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.pptnotes on Evolution Of Analytic Scalability.ppt
notes on Evolution Of Analytic Scalability.ppt
 
Work-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptxWork-Permit-Receiver-in-Saudi-Aramco.pptx
Work-Permit-Receiver-in-Saudi-Aramco.pptx
 
Hostel management system project report..pdf
Hostel management system project report..pdfHostel management system project report..pdf
Hostel management system project report..pdf
 
DC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equationDC MACHINE-Motoring and generation, Armature circuit equation
DC MACHINE-Motoring and generation, Armature circuit equation
 
Unleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leapUnleashing the Power of the SORA AI lastest leap
Unleashing the Power of the SORA AI lastest leap
 
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
Navigating Complexity: The Role of Trusted Partners and VIAS3D in Dassault Sy...
 
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar  ≼🔝 Delhi door step de...
Call Now ≽ 9953056974 ≼🔝 Call Girls In New Ashok Nagar ≼🔝 Delhi door step de...
 
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
Call Girls Pimpri Chinchwad Call Me 7737669865 Budget Friendly No Advance Boo...
 

Tercer trabajo de drapi 02

  • 1. INTRODUCCIÓN El presente trabajo se trata de elaborar un programa que permita ingresar datos personales de una persona o más como nombres y apellidos, dirección, teléfono, email además consta de 5 botones Nuevo, Guardar, Cancelar, Eliminar y Limpiar. Permitirá al estudiante en programar en HTML y visual Basic a través con los diferentes código de programación de la diversa gama que ofrece visual estudio 2012, además conocimiento básico en HTML para ingresar título, imágenes. Consta de una principal llamada conexión y consta de 5 clases para respectivo lugar y también de otros formularios. La diferencia del anterior es que trabaja con base de datos y un académico.bak.
  • 2. Código en HTML. Formulario Principal (Defaul.aspx) <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="universidadesuap._Default" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .style1 { width: 100%; } .style2 { } .style3 { width: 300px; } </style> </head> <body> <form id="form1" runat="server"> <table class="style1" width="1000px" bgcolor="#FFFF99"> <tr> <td align="center" class="style2" colspan="2" bgcolor="#FF9933"> <br /> <img alt="" src="imágenes/filialtumbes.jpg" style="width: 562px; height: 170px" width="1000" /><br /> <br /> </td> </tr> <tr align="center"><td colspan="2"> <FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red"> <span lang="es"> <br /> Universidad Privada Alas Peruanas - Filial Tumbes </span></td></tr> <tr> <td class="style3" bgcolor="#CCFFCC"> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink> <br /> <span lang="es"><a href="Alumnos.aspx" style= "text- decoration: none">ALUMNOS.</a><br /> <a href="Escuela.aspx" style= "text-decoration: none">ESCUELA</a><br /> <a href="Facultad.aspx" style= "text-decoration: none">FACULTADES.</a><br /> <a href="Matrículas.aspx" style= "text-decoration: none">MATRÍCULAS.</a><br />
  • 3. <a href="Sugerencias.aspx" style= "text-decoration: none">SUGERENCIAS.</a></span><br /> </td> <td align="center" bgcolor="#FFFFCC"> <asp:Label ID="Label1" runat="server" Font-Bold="True" Text="Página de Bienvenida"></asp:Label> <br /> </td> </tr> </table> <div> <br /> <a href="http://www.Google.com" target="main" style= "text-decoration: none; font-family: Impact; background- color: #FF8040;">Abri Google. </a><br /> <br /> </div> </form> </body> </html> Formulario Alumnos.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Alumnos.aspx.vb" Inherits="universidadesuap.WebForm1" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .style1 { width: 100%; } .style2 { } .style5 { width: 397px; } .style6 { width: 78px; } </style> </head> <body bgcolor="#ff9900"> <form id="form1" runat="server"> <div> <table class="style1" width="100%" bgcolor="#99FFCC" >
  • 4. <tr> <td colspan="2" align="center" bgcolor="#FF8040"> <br /> <img alt="" src="imágenes/filialtumbes.jpg" style="width: 562px; height: 170px" /><br /> <br /> </td> </tr> <tr align="center"> <td class="style2" colspan="2"> <FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red"> <span lang="es"> <br /> Universidad Privada Alas Peruanas - Filial Tumbes<br /> </span></td> </tr> <tr> <td class="style6" valign="top"> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink> <br /> <span lang="es"><a href="Alumnos.aspx" style= "text- decoration: none">ALUMNOS.</a><br /> <a href="Escuela.aspx" style= "text-decoration: none">ESCUELA</a><br /> <a href="Facultad.aspx" style= "text-decoration: none">FACULTADES.</a><br /> <a href="Matrículas.aspx" style= "text-decoration: none">MATRÍCULAS.</a><br /> <a href="Sugerencias.aspx" style= "text-decoration: none">SUGERENCIAS.</a></span></td> <td class="style5" style="font-size: x-small; font-family: Arial"> <span lang="es"><h2>Registro De Alumnos Uapino</span><h2><br /> <span lang="es">&nbsp; Código Del Alumno:&nbsp; <asp:TextBox ID="txtcodalumn" runat="server" Height="35px" Width="220px" BorderColor="#333300" Font-Bold="False" Font- Italic="False" Font-Names="Arial Narrow" BackColor="#FFFF99" Font- Size="Larger" Enabled="False"></asp:TextBox> <br /> <br /> &nbsp; Apellidos Y Nombres:&nbsp; <asp:TextBox ID="txtan" runat="server" Height="35px" Width="220px" BorderColor="#333300" Font-Bold="False" Font- Italic="False" Font-Names="Arial Narrow" BackColor="#FFFF99" Font- Size="Large"></asp:TextBox> <br /> <br /> &nbsp; Sexo:&nbsp;<b><asp:DropDownList ID="lstsex" runat="server"> <asp:ListItem Value="M">Masculino</asp:ListItem> <asp:ListItem Value="F">Femenino</asp:ListItem> </asp:DropDownList>
  • 5. </b>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> <br /> &nbsp; Dirección:&nbsp; <asp:TextBox ID="txtdir" runat="server" Height="35px" Width="320px" BorderColor="#333300" Font-Bold="False" Font- Italic="False" Font-Names="Arial Narrow" BackColor="#FFFF99"></asp:TextBox> <br /> <br /> &nbsp; Teléfono:&nbsp; <asp:TextBox ID="txttel" runat="server" Height="35px" Width="320px" BorderColor="#333300" Font-Bold="False" Font- Italic="False" Font-Names="Arial Narrow" BackColor="#FFFF99"></asp:TextBox> <br /> <br /> &nbsp; Email: <asp:TextBox ID="txtemail" runat="server" Height="35px" Width="320px" BorderColor="#333300" Font-Bold="False" Font- Italic="False" Font-Names="Arial Narrow" BackColor="#FFFF99" Font- Size="Medium"></asp:TextBox> <br /> <br /> <br /> <span lang="es"> <center><asp:Button ID="btnnuevo" runat="server" Text="Nuevo" />&nbsp; <asp:Button ID="btnguardar" runat="server" Text="Guardar" />&nbsp; <asp:Button ID="btnmodificar" runat="server" Text="Modificar" />&nbsp; <asp:Button ID="btneliminar" runat="server" Text="Eliminar" /></center> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp; <asp:Label ID="lblm" runat="server" Text="Label" EnableTheming="True" Visible="False"></asp:Label> <br /> <br /> </span> </td> </tr> </table> </div> <center><font color="red"><h1>Lista De Alumnos Registrado</h1> <p> <asp:GridView ID="GridView1" runat="server" DataKeyNames="Alu_Codigo"
  • 6. CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#EFF3FB" /> <Columns> <asp:CommandField ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/imágenes/Select.png" > <HeaderStyle Height="5px" Width="5px" /> </asp:CommandField> </Columns> <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" /> <EditRowStyle BackColor="#2461BF" /> <AlternatingRowStyle BackColor="White" /> </asp:GridView> </p></center></font> </form> <a href="http://www.Facebook.com" target="main" style= "text-decoration: none; font-family: Impact; background- color: #FF8040;">Abri Facebook. </a><br /> <br /> </body> </html> Formulario Escuela.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Escuela.aspx.vb" Inherits="universidadesuap.WebForm2" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .style1 { width: 100%; } .style2 { } .style4 { width: 165px; } </style> </head> <body bgcolor="#ccffff"> <form id="form1" runat="server"> <table class="style1"> <tr><td colspan="2" align="center"><font color=red>
  • 7. <br /> <img alt="" src="imágenes/filialtumbes.jpg" style="width: 569px; height: 170px; margin-right: 0px;" /><br /> </font></td></tr> <tr><td colspan="2" align="center"> <FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red"> <span lang="es"> <br /> Universidad Privada Alas Peruanas - Filial Tumbes<br /> </span></td></tr> <td class="style4" valign="top" bgcolor="#FF9933"> <br /> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink> <br /> <span lang="es"><a href="Alumnos.aspx" style= "text- decoration: none">ALUMNOS.</a><br /> <a href="Escuela.aspx" style= "text-decoration: none">ESCUELA</a><br /> <a href="Facultad.aspx" style= "text-decoration: none">FACULTADES.</a><br /> <a href="Matrículas.aspx" style= "text-decoration: none">MATRÍCULAS.</a><br /> <a href="Sugerencias.aspx" style= "text-decoration: none">SUGERENCIAS.</a></span><br /> </td> <td> <span lang="es"> <br /> <b>&nbsp; Registro De Escuela<br /> </b> &nbsp;<br /> <br /> &nbsp; Código:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtcod" runat="server" Height="34px" Width="390px" Enabled="False"></asp:TextBox> <br /> <br /> &nbsp; Nombre De Escuelas:&nbsp; <asp:TextBox ID="txtnomb_esc" runat="server" Height="34px" Width="390px"></asp:TextBox> <br /> <br /> Facultad&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:DropDownList ID="DDLFacultad" runat="server" Height="25px" style="margin-bottom: 0px" Width="353px"> </asp:DropDownList> <br /> <br /> <br /> <center><asp:Button ID="btnuevo" runat="server" Text="Nuevo" />
  • 8. &nbsp; <asp:Button ID="btagregar" runat="server" Text="Agregar" /> &nbsp; <asp:Button ID="btnmodificar" runat="server" Text="modificar" /> &nbsp; <asp:Button ID="bteliminar" runat="server" Text="Eliminar" /> <br /> </span></td> </tr> </table> <table class="style1"> <tr> <td class="style2" align="center"> <br /> <asp:GridView ID="GridView1" runat="server" DataKeyNames="esc_codigo" CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#FFFBD6" ForeColor="#333333" /> <Columns> <asp:CommandField ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/imágenes/Select.png" > <ItemStyle Height="5px" Width="5px" /> </asp:CommandField> </Columns> <FooterStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#FFCC66" ForeColor="#333333" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#FFCC66" Font-Bold="True" ForeColor="Navy" /> <HeaderStyle BackColor="#990000" Font-Bold="True" ForeColor="White" /> <AlternatingRowStyle BackColor="White" /> </asp:GridView> <br /> </td> </tr> </table> </form> <a href="http://www.Hotmail.com" target="main" style= "text-decoration: none; font-family: Impact; background- color: #FF8040;">Abri Messenger Hotmail. </a><br /> <br /> </body> </html>
  • 9. Formulario Facultad.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Facultad.aspx.vb" Inherits="universidadesuap.WebForm3" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .style2 { height: 26px; width: 456px; } .style4 { height: 275px; width: 434px; } .style5 { width: 122%; } .style7 { width: 507px; } .style8 { width: 50px; } </style> </head> <body bgcolor="#ccffcc"> <form id="form1" runat="server"> <table class="style5"> <tr><td colspan="2" align="center" bgcolor="#99CCFF"> <img alt="" src="imágenes/filialtumbes.jpg" style="width: 562px; height: 170px" border="3" /><br /> </td></tr> <tr><td colspan="2" align="center"> <FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red"> <span lang="es"> <br /> Universidad Privada Alas Peruanas - Filial Tumbes<br /> </span></td></tr> <tr> <td class="style8" valign="top" bgcolor="#FFFFCC"> <span lang="es"> <br /> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink> <br /> <a href="Alumnos.aspx" style= "text-decoration: none">ALUMNOS.</a><br />
  • 10. <a href="Escuela.aspx" style= "text-decoration: none">ESCUELA</a><br /> <a href="Facultad.aspx" style= "text-decoration: none">FACULTADES.</a><br /> <a href="Matrículas.aspx" style= "text-decoration: none">MATRÍCULAS.</a><br /> <a href="Sugerencias.aspx" style= "text-decoration: none">SUGERENCIAS.</a></span><br /> </td> <td bgcolor="#CC6600" class="style7"> <img src="primordial1.jpg" </span class="style4" border="3">&nbsp;<span lang="es"><font color=red style="font-family: Algerian; overflow: hidden; background- color: #000080;"><br /> <br /> &nbsp; Escuela Académico Profesional De Ingeniería De Sistemas e Informática. <br /> <br /> </font>Registro De Facultad<br /> <br /> <br /> <br /> &nbsp; Código:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;<asp:TextBox ID="txtcod" runat="server" Height="34px" Width="227px" BackColor="#FFFF99" CausesValidation="True" Enabled="False"></asp:TextBox>&nbsp; <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="txtcod" Display="Dynamic" Enabled="False" ErrorMessage="Falt.Cód"></asp:RequiredFieldValidator> <br /> <br /> &nbsp; Nombre De Facultad:&nbsp; <asp:TextBox ID="txtfac" runat="server" Height="34px" Width="223px" BackColor="#FFFF99"></asp:TextBox> <br /> <br /> <br /> &nbsp;<center><asp:Button ID="btnguardar" runat="server" Text="Guardar" />&nbsp; <asp:Button ID="btnModificar" runat="server" Text="Modificar" />&nbsp; <asp:Button ID="btneliminar" runat="server" Text="Eliminar" />&nbsp; <asp:Button ID="btnnuevo" runat="server" Text="Nuevo" />&nbsp;<asp:Button
  • 11. ID="btncancelar" runat="server" Text="Cancelar" /> <br /> <b><font color="red"> <asp:Label ID="lblm" runat="server" EnableTheming="True" Text="Label" Visible="False"></asp:Label> </font></b></center> </span></td></img> </tr> </table> <table class="style5"> <tr> <td class="style2" align="center" bgcolor="#CC9900"> <br /> <asp:GridView ID="GridView1" runat="server" DataKeyNames="fac_codigo" CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#F7F6F3" ForeColor="#333333" /> <Columns> <asp:CommandField ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/imágenes/Select.png" /> </Columns> <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" /> <EditRowStyle BackColor="#999999" /> <AlternatingRowStyle BackColor="White" ForeColor="#284775" /> </asp:GridView> <br /> </td> <td> &nbsp;</td> </tr> </table> </form> <br /> <a href="http://www.Youtube.com" target="main" style= "text-decoration: none; font-family: Impact; background- color: #FF8040;">Abrir Youtube. </a><br /> <br /> </body> </html>
  • 12. Formulario Matriculas.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Matrículas.aspx.vb" Inherits="universidadesuap.WebForm4" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .style1 { width: 100%; } .style2 { } .style3 { width: 146px; } </style> </head> <body bgcolor="#669999"> <form id="form1" runat="server"> <div> <table class="style1" bgcolor="#996633"> <tr> <td class="style2" align="center" colspan="2" bgcolor="#FF9933"> <img alt="" src="imágenes/filialtumbes.jpg" style="width: 562px; height: 170px" width="1000" /><br /> </td> </tr> <tr> <td colspan="2"> <span lang="es"> <br /> <FONT FACE="Harlow Solid Italic" SIZE=6 COLOR="red"> Universidad Privada Alas Peruanas - Filial Tumbes<br /> </center></span></td> </tr> <tr> <td class="style3" valign="top" bgcolor="#99FF99"> <br /> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink> <br /> <span lang="es"><a href="Alumnos.aspx" style= "text- decoration: none">ALUMNOS.</a><br /> <a href="Escuela.aspx" style= "text-decoration: none">ESCUELA</a><br />
  • 13. <a href="Facultad.aspx" style= "text-decoration: none">FACULTADES.</a><br /> <a href="Matrículas.aspx" style= "text-decoration: none">MATRÍCULAS.</a><br /> <a href="Sugerencias.aspx" style= "text-decoration: none">SUGERENCIAS.</a></span><br /> </td> <td class="style2"> <font face="Bernard MT Condensed" SIZE=4 COLOR="black"> <span lang="es"><center> <br /> Registro De Matrículas Del Alumnos<br /> </center><br /> <br /> <br /> &nbsp;&nbsp; Número De Matrícula: &nbsp; <asp:TextBox ID="txtnumatric" runat="server" Height="30px" Width="331px" BackColor="#FFCC66" BorderColor="#669900"></asp:TextBox> <br /> <br /> &nbsp;&nbsp; Semestre De Matrícula:&nbsp; <asp:TextBox ID="txtsemmatric" runat="server" Height="30px" Width="331px" BackColor="#FFCC66" BorderColor="#669900"></asp:TextBox> <br /> <br /> &nbsp;&nbsp; Fecha De Matrícula:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtfecmatric" runat="server" Height="30px" Width="331px" BackColor="#FFCC66" BorderColor="#669900"></asp:TextBox> <br /> <br /> &nbsp;&nbsp; Código De Alumno:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:DropDownList ID="DropDownList1" runat="server" Height="40px" Width="325px"> </asp:DropDownList> <br /> <br /> &nbsp;&nbsp; Escuela&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; <asp:DropDownList ID="DropDownList2" runat="server" Height="26px" Width="320px"> </asp:DropDownList> <br /> <br /> &nbsp;&nbsp; Ciclo:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="txtciclo" runat="server" Height="30px" Width="331px" BackColor="#FFCC66" BorderColor="#669900"></asp:TextBox>
  • 14. <br /> <br /> <br /> <center><asp:Button ID="Button1" runat="server" Text="Nuevo" />&nbsp; <asp:Button ID="Button2" runat="server" Text="Guardar" />&nbsp; <asp:Button ID="Button3" runat="server" Text="Buscar" />&nbsp; <asp:Button ID="Button4" runat="server" Text="Modificar" />&nbsp; <asp:Button ID="btneliminar" runat="server" Text="Eliminar" /> <br /> <br /> </span></td> </tr> <tr> <td class="style3" align="center"> &nbsp;</td> <td class="style2" align="center"> <br /> <asp:GridView ID="GridView1" runat="server" DataKeyNames="mat_numero" CellPadding="4" ForeColor="#333333" GridLines="None"> <RowStyle BackColor="#E3EAEB" /> <Columns> <asp:CommandField ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/imágenes/Select.png" > <ItemStyle Height="5px" Width="5px" Wrap="False" /> </asp:CommandField> </Columns> <FooterStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /> <PagerStyle BackColor="#666666" ForeColor="White" HorizontalAlign="Center" /> <SelectedRowStyle BackColor="#C5BBAF" Font- Bold="True" ForeColor="#333333" /> <HeaderStyle BackColor="#1C5E55" Font-Bold="True" ForeColor="White" /> <EditRowStyle BackColor="#7C6F57" /> <AlternatingRowStyle BackColor="White" /> </asp:GridView> <br /> </td> </tr> </table> </div> </form> <br /> <a href="http://www.softonic.com" target="main" style= "text-decoration: none; font-family: Impact; background- color: #FF8040;">Abri Softonic. </a><br /> <br /> </body> </html>
  • 15. Formulario Sugerecias.aspx <%@ Page Language="vb" AutoEventWireup="false" CodeBehind="Sugerencias.aspx.vb" Inherits="universidadesuap.WebForm5" %> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" > <head runat="server"> <title>Untitled Page</title> <style type="text/css"> .style1 { width: 100%; } .style2 { } .style3 { width: 222px; } .style4 { width: 465px; } </style> </head> <body alink="White" bgcolor="#999966"> <form id="form1" runat="server"> <div> <table class="style1" bgcolor="#FFFFCC"> <tr align="center"><td colspan="2" bgcolor="#FF9933"> <span lang="es"> <br /> <img alt="" src="imágenes/filialtumbes.jpg" style="width: 562px; height: 170px" /><br /> <br /> </span></td></tr> <tr> <td valign="top" bgcolor="#CCFFCC" class="style3"><span lang="es"> <br /> <asp:HyperLink ID="HyperLink1" runat="server" NavigateUrl="~/Default.aspx">Inicio</asp:HyperLink> <br /> <a href="Alumnos.aspx" style= "text-decoration: none">ALUMNOS.</a><br /> <a href="Escuela.aspx" style= "text-decoration: none">ESCUELA</a><br /> <a href="Facultad.aspx" style= "text-decoration: none">FACULTADES.</a><br /> <a href="Matrículas.aspx" style= "text-decoration: none">MATRÍCULAS.</a><br />
  • 16. <a href="Sugerencias.aspx" style= "text-decoration: none">SUGERENCIAS.</a></span><br /> </td> <td class="style4"> <span lang="es"> <font color="blue"> <br /> <br /> Sugerencia Del Alumno Uapino<br /></font> <br /> &nbsp;&nbsp; Número De Sugerencia:&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <asp:TextBox ID="txtsugerencia" runat="server" Height="33px" Width="406px" BackColor="#FFFFCC" Enabled="False"></asp:TextBox> <br /> <br /> &nbsp;&nbsp; Descripción De La Sugerencia:&nbsp; <asp:TextBox ID="TextBox2" runat="server" Height="33px" Width="406px" BackColor="#FFFFCC"></asp:TextBox> <br /> <br /> </span> <center><asp:Button ID="btnuevo" runat="server" Text="Nuevo" />&nbsp; &nbsp; <asp:Button ID="btalmacenar" runat="server" Text="Almacenar" />&nbsp; <asp:Button ID="bteliminar" runat="server" Text="Eliminar" />&nbsp; <asp:Button ID="BtnModificar" runat="server" Text="Modificar" /> <br /> </td></tr> <tr> <td colspan="2" class="style2" align="center"> <br /> <asp:GridView ID="GridView1" runat="server" DataKeyNames="sug_numero"> <Columns> <asp:CommandField ShowSelectButton="True" ButtonType="Image" SelectImageUrl="~/imágenes/Select.png" /> </Columns> </asp:GridView> <br /> </td> </tr> </table> </div> </form> <p> &nbsp;</p> <p> <a href="http://www.uap.edu.pe/" target="main" style= "text-decoration: none; font-family: Impact; background- color: #FF8040;">Abri Comunidad UAP. </a><br /> </p> </body> </html>
  • 17. Código De Clases Visual Basic Clase Conexión.vb Imports System.Data.SqlClient Module Module1 Public con As New SqlConnection Public Const cadena As String = "Data Source=jhonysqlexpress;Initial Catalog=Academico;integrated security=true" End Module Clase Alumno.vb Imports System.Data.SqlClient Public Class Alumno Public Alu_codigo As String Public Alu_ApeNom As String Public Alu_Sexo As String Public Alu_Direccion As String Public Alu_Telefono As String Public Alu_Email As String Dim z As String Public cadena As String Public Sub Grabar_Alumno() Dim cmdgrabar As SqlCommand Dim sql As String = "insert into Alumnos values('" + Alu_codigo + "','" + Alu_ApeNom + "','" + Alu_Sexo + "','" + Alu_Direccion + "','" + Alu_Telefono + "','" + Alu_Email + "')" Try con = New SqlConnection(cadena) con.Open() cmdgrabar = New SqlCommand(sql, con) z = cmdgrabar.ExecuteScalar() cmdgrabar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, z) End Try End Sub Public Sub Modificar_Alumno() Dim cmdmodificar As SqlCommand Dim sql As String = "update Alumnos set Alu_ApeNom='" + Alu_ApeNom + "',Alu_Sexo='" + Alu_Sexo + "',Alu_Dirección='" + Alu_Direccion + "',Alu_Telefono='" + Alu_Telefono + "',Alu_email='" + Alu_Email + "' where Alu_Codigo='" + Alu_codigo + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con)
  • 18. cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Sub Eliminar_Alumno() Dim cmdmodificar As SqlCommand Dim sql As String = "delete from Alumnos where Alu_Codigo='" + Alu_codigo + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Function Mostrar_Alumno() Mostrar_Alumno = New DataTable Dim damostrar As New SqlDataAdapter("select * from Alumnos", con) damostrar.Fill(Mostrar_Alumno) End Function End Class
  • 19. Clase Escuela.vb Imports System.Data.SqlClient Public Class Escuela Public esc_codigo As String Public esc_Nombre As String Public fac_codigo As String Dim z As String Public cadena As String Public Sub Grabar_Escuela() Dim cmdgrabar As SqlCommand Dim sql As String = "insert into Escuela values('" + esc_codigo + "','" + esc_Nombre + "','" + fac_codigo + "')" Try con = New SqlConnection(cadena) con.Open() cmdgrabar = New SqlCommand(sql, con) z = cmdgrabar.ExecuteScalar() cmdgrabar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, z) End Try End Sub Public Sub Modificar_Escuela() Dim cmdmodificar As SqlCommand Dim sql As String = "update Escuela set esc_nombre='" + esc_Nombre + "',Fac_codigo='" + fac_codigo + "' where esc_Codigo='" + esc_codigo + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Sub Eliminar_Escuela() Dim cmdmodificar As SqlCommand Dim sql As String = "delete from Escuela where esc_Codigo='" + esc_codigo + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try
  • 20. End Sub Public Function Mostrar_Escuela() Mostrar_Escuela = New DataTable Dim damostrar As New SqlDataAdapter("select * from escuela", con) damostrar.Fill(Mostrar_Escuela) End Function End Class Clase Facultad.vb Imports System.Data.SqlClient Public Class Facultad Public fac_codigo As String Public fac_Nombre As String Dim z As String Public cadena As String Public Sub Grabar_Facultad() Dim cmdgrabar As SqlCommand Dim sql As String = "insert into Facultades values('" + fac_codigo + "','" + fac_Nombre + "')" Try con = New SqlConnection(cadena) con.Open() cmdgrabar = New SqlCommand(sql, con) z = cmdgrabar.ExecuteScalar() cmdgrabar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, z) End Try End Sub Public Sub Modificar_Facultad() Dim cmdmodificar As SqlCommand Dim sql As String = "update Facultades set fac_nombre='" + fac_Nombre + "' WHERE Fac_codigo='" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Sub Eliminar_Facultad() Dim cmdmodificar As SqlCommand Dim sql As String = "delete from Facultades where fac_Codigo='" + fac_codigo + "'"
  • 21. Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Function Mostrar_Facultad() Mostrar_Facultad = New DataTable Dim damostrar As New SqlDataAdapter("select * from Facultades", con) damostrar.Fill(Mostrar_Facultad) End Function End Class Clase Matricula.vb Imports System.Data.SqlClient Public Class Matricula Public mat_numero As String Public mat_semestre As String Public mat_fecha As String Public esc_codigo As String Public alu_codigo As String Public ciclo As String Dim z As String Public cadena As String Public Sub Grabar_Matricula() Dim cmdgrabar As SqlCommand Dim sql As String = "insert into Matricula(mat_numero,mat_fecha,mat_semestre,alu_codigo,esc_codigo,ciclo) values('" + mat_numero + "',CONVERT (date, SYSDATETIME()),'" + mat_semestre + "','" + alu_codigo + "','" + esc_codigo + "','" + ciclo + "');select scope_identity()" Try con = New SqlConnection(cadena) con.Open() cmdgrabar = New SqlCommand(sql, con) z = cmdgrabar.ExecuteScalar() cmdgrabar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, z) End Try End Sub Public Sub Modificar_Matricula() Dim cmdmodificar As SqlCommand Dim sql As String = "update Matricula set mat_semestre='" + mat_semestre + "',mat_fecha=CONVERT (date, SYSDATETIME()), esc_codigo='" +
  • 22. esc_codigo + "',alu_codigo='" + alu_codigo + "',ciclo='" + ciclo + "' where mat_numero='" + mat_numero + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Sub Eliminar_Matricula() Dim cmdmodificar As SqlCommand Dim sql As String = "delete from Matricula where Mat_Numero='" + mat_numero + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Function Mostrar_Matricula() Mostrar_Matricula = New DataTable Dim damostrar As New SqlDataAdapter("select * from matriculas", con) damostrar.Fill(Mostrar_Matricula) End Function End Class Clase Sugerencia.vb Imports System.Data.SqlClient Public Class Sugerencia Public sug_numero As String Public sug_descripcion As String Dim z As String Public cadena As String Public Sub Grabar_sugerencia() Dim cmdgrabar As SqlCommand Dim sql As String = "insert into sugerencia values('" + sug_numero + "','" + sug_descripcion + "');select scope_identity()" Try con = New SqlConnection(cadena) con.Open() cmdgrabar = New SqlCommand(sql, con) z = cmdgrabar.ExecuteScalar() cmdgrabar.Dispose()
  • 23. con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, z) End Try End Sub Public Sub Modificar_sugerencia() Dim cmdmodificar As SqlCommand Dim sql As String = "update sugerencia set sug_descripcion='" + sug_descripcion + "' WHERE sug_numero='" + sug_numero + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Sub Eliminar_sugerencia() Dim cmdmodificar As SqlCommand Dim sql As String = "delete from sugerencia where sug_numero='" + sug_numero + "'" Try con = New SqlConnection(cadena) con.Open() cmdmodificar = New SqlCommand(sql, con) cmdmodificar.ExecuteNonQuery() cmdmodificar.Dispose() con.Close() Catch ex As Exception MsgBox(ex.Message, MsgBoxStyle.OkOnly, "Error") End Try End Sub Public Function Mostrar_sugerencia() Mostrar_sugerencia = New DataTable Dim damostrar As New SqlDataAdapter("select * from sugerencia", con) damostrar.Fill(Mostrar_sugerencia) End Function End Class
  • 24. Diseño De Cada Formulario Diseño Principal Default.aspx Diseño Alumnos.aspx Diseño Escuela.apsx Diseño Facultad.aspx Diseño Matricula.aspx Diseño Sugerencias.aspx