Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
61 lines (56 sloc) 2.21 KB
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_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%;
}
</style>
</head>
<body>
<h1 style="font-family: 'Trebuchet MS'; font-size: medium; font-weight: lighter;
font-style: italic; text-transform: capitalize; color: #9f6271">
<Center>Workhorse Library Managment System </Center></h1>
<form id="form1" runat="server">
<div>
<table class="style1">
<tr>
<td>
User Name</td>
<td>
<asp:TextBox ID="txtUserName" runat="server"
ontextchanged="TextBox1_TextChanged" style="width: 128px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ErrorMessage="UserName cannot be empty" ControlToValidate="txtUserName">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td>
Password</td>
<td>
<asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ErrorMessage="Password cannot be empty" ControlToValidate="txtPassword">*</asp:RequiredFieldValidator>
</td>
</tr>
<tr>
<td colspan="2">
<center><asp:Label ID="lblMessage" runat="server"></asp:Label></center>
</td>
</tr>
<tr>
<td>
&nbsp;</td>
<td>
<asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click"
Text="Login" />
</td>
</tr>
</table>
</div>
</form>
</body>
</html>
Something went wrong with that request. Please try again.