0% found this document useful (0 votes)
115 views

Project Coding

The document describes the code for various pages of a website including a home page, login page, account creation page, account confirmation page, administration page, and job sheet page. The home page displays a login/logout module and link to change password. The login page contains fields to enter username and password. The account creation page allows setting up a new account with fields for username, password, email etc. The administration page contains links to job sheets, manage jobs, and pay slips pages. The job sheet page is for creating/viewing work orders.

Uploaded by

Govind Raj
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
115 views

Project Coding

The document describes the code for various pages of a website including a home page, login page, account creation page, account confirmation page, administration page, and job sheet page. The home page displays a login/logout module and link to change password. The login page contains fields to enter username and password. The account creation page allows setting up a new account with fields for username, password, email etc. The administration page contains links to job sheets, manage jobs, and pay slips pages. The job sheet page is for creating/viewing work orders.

Uploaded by

Govind Raj
Copyright
© Attribution Non-Commercial (BY-NC)
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 13

CODING: Home Page:

<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="home.aspx.cs" Inherits="home" Title="Home Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> <style type="text/css"> .style6 { width: 43%; } </style> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table border="1" width="110%" cellpadding="0" cellspacing="0"> <tr> <td class="style6"><img src="business.jpg" width="557" height="265" alt="business"/> </td> <td width="100%" style="background-color"> <asp:LoginView ID="LoginView1" runat="server"> <AnonymousTemplate> you are not logged in.<br /> <br /> <a href="login.aspx">Click Here to Login</a><br/> <a href="createaccount.aspx"></a><br /><br /> </AnonymousTemplate> <LoggedInTemplate>Welcome Back<br />&nbsp; <asp:LoginName ID="LoginName1"runat="server"/>&nbsp;|&nbsp;| <asp:LoginStatus ID="LoginStatus1" runat="server"> </asp:LoginStatus> <br /><br /> <a href="changepassword.aspx">changepassword.aspx</a><br /> </LoggedInTemplate></asp:LoginView>&nbsp;</td> </tr></table> </asp:Content>

Login Page :
<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="login.aspx.cs" Inherits="login" Title="Login Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table border="0" style="height: 305px; width: 524px"> <tr><td align="center" colspan="2">Sign In Your Account</td></tr> <tr><td align="right"><b> <asp:Label ID="Label1" runat="server" Text="User Name:"></asp:Label> </b></td> <td><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="TextBox1" ErrorMessage="User Name is required." ToolTip="User Name is required."ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldVali dator> </td></tr> <tr><td align="right"><b> <asp:Label ID="Label2" runat="server" Text="Password:"></asp:Label> </b></td> <td><asp:TextBox ID="TextBox2" runat="server" TextMode="Password"> </asp:TextBox> <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="TextBox2" ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">* </asp:RequiredFieldValidator></td></tr> <tr><td align="center" colspan="2"><asp:Button ID="cmdSubmit" runat="server" Text="Submit" borderstyle="Solid" onclick="cmdSubmit_Click"></asp:button> </td></tr> </table> </asp:Content>

Create New Account:


<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="createaccount.aspx.cs" Inherits="createaccount" Title="User Account Creation Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table border="0" style="height: 305px; width: 524px"> <tr><td align="center" colspan="2">Sign Up for Your New Account</td> </tr><tr> <td align="right"><asp:Label ID="UserNameLabel" runat="server" AssociatedControlID="UserName">User Name:</asp:Label> </td><td> <asp:TextBox ID="UserName" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="UserNameRequired" runat="server" ControlToValidate="UserName" ErrorMessage="User Name is required." ToolTip="User Name is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator>

</td></tr> <tr><td align="right"> <asp:Label ID="PasswordLabel" runat="server" AssociatedControlID="Password">Password:</asp:Label></td><td> <asp:TextBox ID="Password" runat="server" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="PasswordRequired" runat="server" ControlToValidate="Password" ErrorMessage="Password is required." ToolTip="Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator> </td></tr> <tr><td align="right"> <asp:Label ID="ConfirmPasswordLabel" runat="server" AssociatedControlID="ConfirmPassword">Confirm Password:</asp:Label> </td><td> <asp:TextBox ID="ConfirmPassword" runat="server" TextMode="Password"></asp:TextBox> <asp:RequiredFieldValidator ID="ConfirmPasswordRequired" runat="server" ControlToValidate="ConfirmPassword" ErrorMessage="Confirm Password is required." ToolTip="Confirm Password is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator> </td></tr><tr> <td align="right"> <asp:Label ID="EmailLabel" runat="server" AssociatedControlID="Email">E-mail:</asp:Label></td><td> <asp:TextBox ID="Email" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="EmailRequired" runat="server" ControlToValidate="Email" ErrorMessage="E-mail is required." ToolTip="E-mail is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator> </td></tr> <tr><td align="right"><asp:Label ID="QuestionLabel" runat="server" AssociatedControlID="Question">Security Question:</asp:Label> </td><td> <asp:TextBox ID="Question" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="QuestionRequired" runat="server" ControlToValidate="Question" ErrorMessage="Security question is required." ToolTip="Security question is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator> </td></tr> <tr><td align="right"> <asp:Label ID="AnswerLabel" runat="server" AssociatedControlID="Answer">Security Answer:</asp:Label> </td> <td><asp:TextBox ID="Answer" runat="server"></asp:TextBox> <asp:RequiredFieldValidator ID="AnswerRequired" runat="server" ControlToValidate="Answer" ErrorMessage="Security answer is required." ToolTip="Security answer is required." ValidationGroup="CreateUserWizard1">*</asp:RequiredFieldValidator> </td></tr> <tr><td align="center" colspan="2">

<asp:CompareValidator ID="PasswordCompare" runat="server" ControlToCompare="Password" ControlToValidate="ConfirmPassword" Display="Dynamic" ErrorMessage="The Password and Confirmation Password must match." ValidationGroup="CreateUserWizard1"></asp:CompareValidator></td></tr> <tr><td align="center" colspan="2" style="color:Red;"> <asp:Literal ID="ErrorMessage" runat="server" EnableViewState="False"></asp:Literal></td></tr> <tr><td align="center" colspan="2"> <asp:Button ID="Button1" runat="server" Text="Create User" onclick="Button1_Click" /></td></tr> </table> </asp:Content>

Account Conformation Page:


<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="conform.aspx.cs" Inherits="conform" Title="Untitled Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">&nbsp;<br /> <asp:Label ID="Label1" runat="server" Text="Label">You Have Successfully Create Your Account</asp:Label><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br /> &nbsp;<br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Button ID="Button1" runat="server" Text="Continue" PostBackUrl="login.aspx" onclick="Button1_Click"/> </asp:Content>

Administration Page:
<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="admin.aspx.cs" Inherits="admin" Title="admin Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp; <a href="jobsheet.aspx" style="border: thick solid #FF0000; fontfamily: Arial; font-size: x-large; color: #FF0000; text-decoration: underline overline; background-color: #FFFF00; font-weight: bold; font-style: normal; text-transform: none; font-variant: normal">Job Sheet/Work Order</a><br /> <br /><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="managejobs.aspx" style="font-family: Arial; font-size: xlarge; font-weight: bold; font-style: normal; font-variant: normal; text-transform: none; color: #FF0000; background-color: #FFFF00; textdecoration: underline overline; border: thick solid #FF0000">Manage Jobs</a><br /><br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="payslip.aspx" style="text-decoration: underline overline; font-family: Arial; color: #FF0000; text-transform: none; fontvariant: normal; font-style: normal; font-weight: bold; font-size: xlarge; border: thick solid #FF0000; background-color: #FFFF00">pay slip</a> </asp:Content>

Job Sheet Page:


<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="jobsheet.aspx.cs" Inherits="jobsheet" Title="Job Sheet Page" %> <%@ Register Assembly="EO.Web" Namespace="EO.Web" TagPrefix="eo" %> <%@ Register Assembly="obout_Interface" Namespace="Obout.Interface" TagPrefix="cc1" %> <%@ Register assembly="obout_Calendar2_Net" namespace="OboutInc.Calendar2" tagprefix="obout" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">

<table border="1" cellpadding="1" cellspacing="0" width="150%"><tr><td> <center><font face="Times New Roman" color="Red" size="5">Job Sheet/Work Order</font></center> <hr color="green"/><font face="Times New Roman" color="black" size="3"> <table border="0"> <tr><td> <asp:Label ID="Label6" runat="server" Text="Date"></asp:Label>&nbsp;&nbsp;&nbsp;<eo:DatePicker ID="DatePicker1" runat="server"></eo:DatePicker> </td><td>&nbsp;</td><td> <asp:Label ID="Label1" runat="server" Text="ConsultantName"></asp:Label> &nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></td> </tr><tr><td> <asp:Label ID="Label2" runat="server" Text="Client"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</td> <td>&nbsp;</td><td> <asp:Label ID="Label3" runat="server" Text="Charge Code/PO Number"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td> </tr><tr><td> <asp:Label ID="Label5" runat="server" Text="Type Of Service"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp; <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox></td> <td> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp; </td><td> <asp:Label ID="Label4" runat="server" Text="Time Of Service"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;& nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox></td> </tr></table>

<table border="1" cellpadding="1" cellspacing="0" width="100%"><tr><td><center><font face="Times New Roman" size="3">Production Details</font></center><hr /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <asp:Label ID="Label7" runat="server" Text="New"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp; &nbsp; <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox> <br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <asp:Label ID="Label8" runat="server" Text="Edit"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox><br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label9" runat="server" Text="Conversion"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp; &nbsp; <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox><br /> </td></tr> </table><br />&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:Label ID="Label10" runat="server" Text="Time Spent"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;

<asp:Label ID="Label11" runat="server" Text="Graphics Person's Name"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp; <asp:TextBox ID="TextBox10" runat="server"></asp:TextBox> <br /><br />&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; <asp:Label ID="Label12" runat="server" Text="Hours Spent"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp; <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox> </font> </td></tr><tr><td><br /><br /> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp; <asp:Button ID="Button1" runat="server" Text="Submit" onclick="Button1_Click1" /> </td></tr></table> </asp:Content>

Pay Slip Page:


<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="payslip.aspx.cs" Inherits="payslip" Title="Pay Slip Page" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <table border="2" cellpadding="1" cellspacing="0" width="150%"> <tr><td> <table border="0" width="100%"><tr> <td width="70%"> <font face="Times New Roman" size="4">My Business Visual India Private Limited<br />No.1/3,Perumal Koil Garden 2nd Street<br /> Arumbakkam,Chennai-600 106.</font>

</td> <td width="30%">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p; <img src="http://www.mybusinessvisual.com/images/logo.jpg" alt="my business" /> </td></tr></table> <hr /> <table border="0" width="100%"><tr> <td width="50%"> <asp:Label ID="Label1" runat="server" Text="Name"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp; <asp:TextBox ID="TextBox1" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label2" runat="server" Text="Employee Name"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp; <asp:TextBox ID="TextBox2" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label3" runat="server" Text="Month & Year"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox3" runat="server"></asp:TextBox></td> <td width="50%"> <div align="right"> <table border="1" cellpadding="1" cellspacing="0" width="100%" ><tr><td>Resident Address<br /><br /><br /><br /><br /><br /></td></tr></table> </div> </td> </tr></table><hr /> <table border="0" cellpadding="0" cellspacing="1" width="100%"><tr> <td width="50%"> <table border="1" cellpadding="1" cellspacing="0" width="100%"><tr><td><center><font face="Times New Roman" size="5">Earnings</font></center><hr /> <asp:Label ID="Label4" runat="server" Text="Basic"></asp:Label>&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox4" runat="server"></asp:TextBox><br /><br />

<asp:Label ID="Label5" runat="server" Text="House Rent Allowance"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox5" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label6" runat="server" Text="Conveyance"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox6" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label7" runat="server" Text="Other Allowance"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp ;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp; <asp:TextBox ID="TextBox7" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label8" runat="server" Text="Overtime"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp; <asp:TextBox ID="TextBox8" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label9" runat="server" Text="Incentive"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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; <asp:TextBox ID="TextBox9" runat="server"></asp:TextBox><br /><br /><br /><br /><br /><br /><br /> <asp:Label ID="Label15" runat="server" Text="Gross Earnings"></asp:Label> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox15" runat="server"></asp:TextBox></td></tr></table> </td> <td width="50%"> <div align="right"> <table border="1" cellpadding="1" cellspacing="0" width="100%"> <tr><td><center><font face="Times New Roman" size="5">Deductions</font></center><hr /> <asp:Label ID="Label10" runat="server" Text="P.F"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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;

<asp:TextBox ID="TextBox10" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label11" runat="server" Text="ESI"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&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; <asp:TextBox ID="TextBox11" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label12" runat="server" Text="Excessive Leave"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nb sp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox12" runat="server"></asp:TextBox><br /><br /> <asp:Label ID="Label13" runat="server" Text="Other (if any)"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n bsp;&nbsp; <asp:TextBox ID="TextBox13" runat="server"></asp:TextBox><br /> <br /><br /><br /><br /><br /><br /><br /><br /><br /><br /> <asp:Label ID="Label14" runat="server" Text="Gross Deductions"></asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox14" runat="server"></asp:TextBox> </td></tr></table></div> </td></tr> </table> <hr /> <table border="0" width="100%"><tr> <td width="50%"> <table border="0" cellpadding="1" cellspacing="0" width="100%"><tr><td> <asp:Label ID="Label16" runat="server" Text="Net Salary"></asp:Label>&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <asp:TextBox ID="TextBox16" runat="server"></asp:TextBox></td> <td width="50%"> <table border="1" cellpadding="1" cellspacing="0" width="100%" > <tr><td> <br /> </td></tr> </table></td></tr></table> </td></tr> </table><br /><br /> <p>This is a computer generated statement and requires no signature</p> </td></tr></table> <table border="0"> <tr align="center"><td><br />

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbs p;&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;&nbsp;&nbsp; <asp:Button ID="Button1" runat="server" Text="Submit" /></td></tr></table> <br /><br /> <br /> </asp:Content>

Manage Jobs Page:


<%@ Page Language="C#" MasterPageFile="~/homepage.master" AutoEventWireup="true" CodeFile="managejobs.aspx.cs" Inherits="managejobs" Title="Untitled Page" %> <%@ Register assembly="obout_Grid_NET" namespace="Obout.Grid" tagprefix="cc1" %> <asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server"> </asp:Content> <asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server"> <p> <br /> </p> <cc1:Grid ID="Grid1" runat="server" DataSourceID="SqlDataSource1"> </cc1:Grid> <asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:mbvConnectionString %>" SelectCommand="SELECT * FROM [jobsheet]"></asp:SqlDataSource> <p> </p> </asp:Content>

Site Map Page:


<?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode title="Home" url="home.aspx">

<siteMapNode title="Create New Account" url="createaccount.aspx"/> <siteMapNode title="Administration" url="admin/admin.aspx"> <siteMapNode title="Job Sheet" url="admin/jobsheet.aspx"/> <siteMapNode title="Pay Slip Sheet" url="admin/payslip.aspx"/> <siteMapNode title="Manage Jobs" url="admin/managejobs.aspx"/> <siteMapNode title="Send Mail" url="admin/mailsend.aspx"/> <siteMapNode title="Display Reports" url="admin/displayreports.aspx"/> </siteMapNode> <siteMapNode title="About Us" url="about.aspx"/> <siteMapNode title="Contact Us" url="contact.aspx"/> </siteMapNode> </siteMap>

You might also like