-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebForm1.aspx
55 lines (53 loc) · 2.15 KB
/
WebForm1.aspx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="WebForm1.aspx.cs" Inherits="Usuario.WebForm1" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
<style type="text/css">
.auto-style1 {
height: 218px;
width: 504px;
background-color: #FFFFFF;
}
.auto-style2 {
margin-left: 60px;
margin-top: 0px;
}
.auto-style3 {
margin-left: 60px;
margin-top: 0px;
margin-bottom: 0px;
}
.auto-style4 {
margin-left: 361px;
margin-top: 16px;
margin-bottom: 0px;
}
.auto-style5 {
font-size: xx-large;
}
.auto-style6 {
color: #FF0000;
}
</style>
</head>
<body style="height: 226px; width: 511px">
<form id="form1" runat="server">
<div class="auto-style1" style="border-style: solid; border-width: thin">
<strong><span class="auto-style5"> USER NAME : </span></strong>
<asp:TextBox ID="Nombre" runat="server" CssClass="auto-style3" Width="250px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" ControlToValidate="Nombre" CssClass="auto-style6" ErrorMessage="Se requiere un UserName"></asp:RequiredFieldValidator>
<br />
<br />
<strong><span class="auto-style5"> PASSWORD :</span></strong><asp:TextBox ID="Contrasena" runat="server" CssClass="auto-style2" TextMode="Password" Width="250px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" ControlToValidate="Contrasena" CssClass="auto-style6" ErrorMessage="Se requiere un Password"></asp:RequiredFieldValidator>
<br />
<br />
<asp:Button ID="Aceptar" runat="server" CssClass="auto-style4" OnClick="Button1_Click" Text="ACEPTAR" />
</div>
</form>
</body>
</html>