Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
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" "">
<html xmlns="">
<head runat="server">
<title>Untitled Page</title>
<style type="text/css">
width: 100%;
<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">
<table class="style1">
User Name</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>
<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 colspan="2">
<center><asp:Label ID="lblMessage" runat="server"></asp:Label></center>
<asp:Button ID="btnLogin" runat="server" onclick="btnLogin_Click"
Text="Login" />
Jump to Line
Something went wrong with that request. Please try again.