You are on page 1of 2

?<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Admin_login.aspx.

cs"
Inherits="manish.WebForm1" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<script src="bootstrap.min.js"></script>

<title></title>
</head>
<body BackgroundImageUrl:="D:\Student\manish\manish\images\best_hd-t2.jpg">
<form id="form1" runat="server">
<div>

<asp:Panel ID="Panel1" runat="server" BorderStyle="Inset" style="top:


188px; left: 397px; position: absolute; height: 239px; width: 482px"
BackColor="#FFCC99" BorderColor="#669900" BorderWidth="15px">
<asp:Label ID="Label1" runat="server" style="top: 101px; left: 29px;
position: absolute; height: 19px; width: 68px" Text="Admin Id" Font-Bold="True"
Font-Names="Bell MT" Font-Size="Medium" ForeColor="#6600CC"></asp:Label>

<asp:TextBox ID="TextBox1" runat="server" style="top: 98px; left:


113px; position: absolute; height: 14px; width: 172px" Font-Names="Bell
MT"></asp:TextBox>

<asp:Label ID="Label2" runat="server" style="top: 140px; left: 31px;


position: absolute; height: 19px; width: 66px" Text="Password" Font-Bold="True"
Font-Names="Bell MT" Font-Size="Medium" ForeColor="#6600CC"></asp:Label>
<asp:TextBox ID="TextBox2" runat="server" style="top: 141px; left:
114px; position: absolute; height: 14px; width: 171px" Font-Names="Bell
MT"></asp:TextBox>

<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"


ControlToValidate="TextBox2" ErrorMessage="* Enter Correct Password"
ForeColor="#CC3399" style="top: 139px; left: 309px; position: absolute; height:
19px; width: 159px"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="TextBox1" ErrorMessage="* Must Not Be Blank" ForeColor="#CC3399"
style="top: 100px; left: 307px; position: absolute; height: 19px; width:
143px"></asp:RequiredFieldValidator>
<asp:Button ID="Button1" runat="server" BorderColor="#996633" Font-
Bold="True" Font-Names="Bell MT" Font-Size="Large" ForeColor="#009900"
OnClick="Button1_Click" style="top: 181px; left: 115px; position: absolute; height:
26px; width: 56px; border-style: Inset; border-color: #CC9900; background-color:
#FFCC99" Text="Login" />
<asp:Button ID="Button2" runat="server" Font-Bold="True" Font-
Names="Bell MT" Font-Size="Large" ForeColor="#CC3300" OnClick="Button2_Click"
style="top: 180px; left: 203px; position: absolute; height: 26px; width: 56px;
border-style: Inset; border-color: #CC9900; background-color: #FFCC99" Text="ReSet"
/>
<asp:Label ID="Label3" runat="server" Font-Bold="True" Font-Names="Bell MT"
Font-Size="X-Large" ForeColor="#6600CC" style="top: 8px; left: 150px; position:
absolute; height: 25px; width: 161px" Text="Admin Login"></asp:Label>
</asp:Panel>
</div>

<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$


ConnectionStrings:ConnectionString %>" SelectCommand="SELECT * FROM
[login]"></asp:SqlDataSource>

</form>

</body>
</html>

You might also like