0% found this document useful (0 votes)
26 views61 pages

Niis Project SIP

The document describes an online employee attendance management system for tracking student and staff attendance in university hostel canteens. It aims to automate the manual attendance recording process. The system will integrate with biometric devices to record attendance and generate reports. It will be developed using .NET and SQL Server and consist of modules to manage hostel/canteen data, student/staff registration, attendance tracking, and report generation. The system aims to reduce errors, save time, and provide real-time attendance reporting at the canteen, hostel, and student levels.

Uploaded by

Imperial Systems
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
26 views61 pages

Niis Project SIP

The document describes an online employee attendance management system for tracking student and staff attendance in university hostel canteens. It aims to automate the manual attendance recording process. The system will integrate with biometric devices to record attendance and generate reports. It will be developed using .NET and SQL Server and consist of modules to manage hostel/canteen data, student/staff registration, attendance tracking, and report generation. The system aims to reduce errors, save time, and provide real-time attendance reporting at the canteen, hostel, and student levels.

Uploaded by

Imperial Systems
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOC, PDF, TXT or read online on Scribd
You are on page 1/ 61

Title of the Project

Online Employee Attendance Management System


1. INTRODUCTION: -

1.1 Overview
The Application intends to reduce manual activities in an university campus
canteens. The university has many hostels which houses about 1200
students having different food choices. It is difficult to maintain manual
records for canteens that who have used the services on daily basis starting
from breakfast to dinner. Hence a system that automates the tracking was
needed hence the application caters to that need.

1.2 About the Project


 Online Attendance Management System is an application developed
for managing attendance in canteens of the hostel. It manages attendance of
students and staffs, their food preference like Vegetarian or Non-
Vegetarian ,in / out time in canteen  This system is designed to manage the
student/staff records store attendance details from biometric devices over
Local Area Network as well as offline attendance entry and show reports for
student and employees.

1.3 Purpose
The purpose of this project is to maintain attendance in hostel canteens for an
university, There are many hostels inside the university premises and multiple
canteens so this project includes many modules like Hostel/Canteen Master,
Student/Staff Registration, Attendance, Reports. It is done using .Net and
Sqlserver as basic tools.

1
2. SYSTEM ANALISIS
2.1.Present System
The university has 11 hostels and 2 canteens ,resident students and staffs uses
the canteen services . The canteen staffs has to maintain manual attendance
records for those students and staffs. As the students changes hostels and new
students enrolled each year it is difficult to track such records and also time
consuming.

2.2 Benefits of the System:


The Online Attendance Management System will reduce the manual activities
reducing the error in recording details as well as save time . Real time reports
can be generated Canteen wise , Hostel wise and Student wise.

2.3 Proposed System


The proposed system will be developed using Microsoft.Net and Sqlserver as
basic tools. It will be Integrated with Biometric Devices installed at different
canteens. Once a student /staff punches attendance through the device it will be
recorded in a central server over Local Area Network of the campus. It has also
an offline mode of entering attendance.
It will have 2 basic modules i.e.
1. A front end system that helps in recording master data and generating
reports.
2. A window service that collects the data from biometric devices.

2
3. Feasibility Report
3.1 Understanding Feasibility

Feasibility Study has to be done by the development team by visiting the user


and studying their system. Investigation for the need for development in the given
system requirements-gathering process has to be done .

For developing the Online Attendance Management System we have gone


through the process that how the records were maintained ? what were the
details recorded in manual registers ? what reports are required by the
management and canteen operators?

3.2 Operational Feasibility

The criteria of Operational Feasibility involve certain general issues. The Project
is considered operationally feasible if these issues are sufficiently taken care of.
The first of these issues is to see that there is sufficient support for the project
from the management. The answer to this should be affirmative.

The second of the issue is to examine whether there is a need for this project.
Since the current system has difficulties, the need for this project arises.

As the system was time consuming and voluminous the management was willing
to go ahead for the project.

3.3Technical Feasibility
The technical issues are to be tested, to see if the project is feasible. It should
be examined, to see if the proposed equipment has the technical capacity to hold
the data required.

3
As there was a need for Manual as well as biometric based attendance system
Microsoft.Net was best suited for the current system they have .The application is
developed using SQL Server as the DBMS so the data can be stored in the
database.

3.4 Economic Feasibility


The question of economic feasibility arises in the cases where new hardware or
software to be purchased. In this case, the company would provide all the
required hardware and the software from its existing resources.

4
4.SOFTWARE REQUITEMENT SPECIFICATIONS
4.1 Software Specification

1. Visual Studio 2013 (C#.Net /ASP.Net )


2. SQL Server 2012
3. Java Script
Hardware Specification (Min. Requirements for Server)
Processor Intel Core I3
2 GB RAM
Generic Keyboard and Mouse
500 GB HDD
Note : - Client Computers can have any specification supporting major
browsers.

4.2 OS and Other Softwares


Windows 7 or Higher
IE8 / Chrome /Firefox Browser
This project is for the Online attendance management system and it is restricted
within the university premises .This project is useful for university management
as well as canteen operators.

4.3 PROJECT SCOPE

The purpose of the Online attendance management system is to ease


attendance management sysat canteens and to create a convenient and easy-
to-use application for canteen operators trying to register attendance. We will
have a database server supporting multiple canteens inside the premises Above
all, we hope to provide a comfortable user experience.

Product Perspective
The Application stores the following information
1. Hostel , Cateen Details
2. Student Registration details like Registration No, Name , Semester ,
School Of Study etc.
3. Staff Details like Employee Id, Name and Designation etc.
4. Attendance Details like Reg.No., Name , Date , Time In , Time Out

5
5.System Design
5.1 Introduction
Systems design implies a systematic approach to the design of a system. It may
take a bottom-up or top-down approach, but either way the process is systematic
wherein it takes into account all related variables of the system that needs to be
created—from the architecture, to the required hardware and software, right
down to the data and how it travels and transforms throughout its travel through
the system.

5.2 Normalization
o Normalization is the process of organizing the data in the database.
o Normalization is used to minimize the redundancy from a relation or set of
relations. It is also used to eliminate the undesirable characteristics like
Insertion, Update and Deletion Anomalies.
o Normalization divides the larger table into the smaller table and links them
using relationship.
o The normal form is used to reduce redundancy from the database table.

It is a process of converting a relation to a standard form. The process is used to


handle the problems that can arise due to data redundancy i.e. repetition of data
in the database, maintain data integrity as well as handling problems that can
arise due to insertion, updation, deletion anomalies.

Decomposing is the process of splitting relations into multiple


relations to eliminate anomalies and maintain anomalies and maintain data
integrity. To do this we use normal forms or rules for structuring relation.

Insertion anomaly: Inability to add data to the database due to absence of other
data.

Deletion anomaly: Unintended loss of data due to deletion of other data.

6
Update anomaly: Data inconsistency resulting from data redundancy and partial
update

Normal Forms: These are the rules for structuring relations that eliminate
anomalies.

First Normal Form:

A relation is said to be in first normal form if the values in the


relation are atomic for every attribute in the relation. By this we mean simply that
no attribute value can be a set of values or, as it is sometimes expressed, a
repeating group.

Second Normal Form:

A relation is said to be in second Normal form is it is in first normal


form and it should satisfy any one of the following rules.

Primary key is a not a composite primary key


No non key attributes are present
Every non key attribute is fully functionally dependent on full set of primary key.

Third Normal Form:

A relation is said to be in third normal form if their exits no transitive


dependencies.
Transitive Dependency: If two non key attributes depend on each other as well
as on the primary key then they are said to be transitively dependent.
The above normalization principles were applied to decompose the
data in multiple table thereby making the data to be maintained in a consistent
state.

7
5.3 E-R Diagram:

Username Password Student


User Master
master

Logi
n

User Student Master Attend


Login ance
Master

Employee

Attendance

Canid Cantname
Cid

Canteen Master
Attendance Register
or
Log

Userid Loftime hostelid

Logdate

8
5.4 DFDs:

REGISTRAT
User User ION
PROCESS

Login
data

Registered
Member
LOGIN
PROCESS Member Attendance
data Database

Attendan
cece details
Verified
members

SEARCH
Student PROCESS Print Attendance
Registration Request for Attenda Report
search nce

9
5.5 DATA STRUCTURES (TABLES) FOR ALL THE MODULES.
TABLES

1. Login Table

Field Name Data Type Constraint


userid int PK
username Varchar(max) Not Null
password Varchar(10) Not Null
emailid Varchar(50) Not Null

2. studentmaster table

Field Name Data Type Constraint


studid int PK
name Varchar(max) Not Null
rollno Varchar(max) Not Null
cardno Varchar(50) Not Null
roomno Varchar(50) Not Null
address Varchar(max) Not Null
contactno Varchar(10) Not Null
foodpref Varchar(20) Not Null
semid Varchar(30) Not Null
courseid Varchar(30) Not Null
hostelid Varchar(30) Not Null
cantid Varchar(30) Not Null

3. Employee table

Field Name Data Type Constraint


SlNo int FK
EmployeeID (Pk,varchar(50)) Not Null
EmployeeName Varchar(max) Not Null
Designation Varchar(max) Not Null
EmailID Varchar(max) Not Null
ContactNo Varchar(10) Not Null
Password Varchar(max) Not Null
ConfirmPasswor Varchar(max) Not Null
d

10
5. hostelmaster table

Field name Data type Constraint


Hid int Not Null
hostelid (Pk ,Varchar(30), FK
Not Null)
hostelname (Fk,Varchar(50) Not Null
instituteid Varchar2(10) Not Null
reserve1 int Null
Reserve2 Varchar(30) Null
Reserve3 Decimal(18,2) Null
Reserve4 datetime Null
Reserve5 Varchar(30) Null

11
7

12
Login:-

13
Home Page:

14
Master:
Hostel Master

Cateen Master
15
16
Student Master

17
Student Report

18
Single check entry

19
Change password

20
Import.aspx

21
Import Student

22
6

23
Login
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="cant_login.aspx.cs"
Inherits="cant_login" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="">
<meta name="author" content="Dashboard">
<meta name="keyword" content="Dashboard, Bootstrap, Admin, Template, Theme,
Responsive, Fluid, Retina">
<title>JITM Canteen Tracking System</title>
<!-- Bootstrap core CSS -->
<link href="assets/css/bootstrap.css" rel="stylesheet">
<!--external css-->
<link href="assets/font-awesome/css/font-awesome.css" rel="stylesheet" />

<!-- Custom styles for this template -->


<link href="assets/css/style.css" rel="stylesheet">
<link href="assets/css/style-responsive.css" rel="stylesheet">

<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script
src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
<script
src="https://oss.maxcdn.com/libs/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<!-- js placed at the end of the document so the pages load faster -->

</head>
<body>
<div id="login-page">
<div class="container">

<form class="form-login" id="form1" runat="server">


<h2 class="form-login-heading">sign in now</h2>
<div class="login-wrap">
<asp:TextBox ID="textall" runat="server" class="form-control"
placeholder="User Id or Email Id or Mobile No" autofocus="autofocus"
OnTextChanged="textall_TextChanged">
</asp:TextBox>
<br>
<asp:TextBox ID="Textpassword" runat="server"
class="form-control" placeholder="Password" TextMode="Password"
autofocus="autofocus" OnTextChanged="Textpassword_TextChanged">
</asp:TextBox>
<label class="checkbox">
<span class="pull-right">
<%-- <a data-toggle="modal" href=""> Forgot
Password?</a> --%>
</span>

24
</label>
<asp: Button ID="btnsubmit” class="btn btn-theme btn-
block" runat="server" Text="SIGN IN" OnClick="btnsubmit_Click">
</asp: Button>
<hr>

>
</div>--%>
<div class="registration" id="b1" runat="server">
Don't have an account yet?<br/>
<a class="" href="newuser.aspx" id="a1"
runat="server">
Create an account
</a>
</div>

</div>

</form>
</div>
</div>
<script src="assets/js/jquery.js"></script>
<script src="assets/js/bootstrap.min.js"></script>

<!--BACKSTRETCH-->
<!-- You can use an image of whatever size. This script will stretch to fit in
any screen size.-->
<script type="text/javascript"
src="assets/js/jquery.backstretch.min.js"></script>
<script>
$.backstretch("assets/img/bg_header.jpg", { speed: 500 }); //login -
bg.jpg
</script>
</body>
</html>

25
Cant_master
<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"
AutoEventWireup="true" CodeFile="cant_master.aspx.cs" Inherits="_cant_master" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"


TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.AutoExtender
{
font-family: Verdana, Helvetica, sans-serif;
font-size: .9em;
font-weight: normal;
border: solid 2px #006699;
line-height: 20px;
padding: 10px;
background-color: White;
margin-left: 10px;
}
.AutoExtenderList
{
border-bottom: dotted 2px #006699;
cursor: pointer;
color: Maroon;
}
.AutoExtenderHighlight
{
color: White;
background-color: #006699;
cursor: pointer;
}
#divwidth
{
width: 150px !important;
}
#divwidth div
{
width: 150px !important;
}
.upcs
{
text-transform:uppercase;
}

body
{
margin: 0;
padding: 0;
}
.modal
{
position: absolute;
z-index: 999;
top: 233px;

26
background-color: Black;
filter: alpha(opacity=60);
opacity: 0.6;
-moz-opacity: 0.8;
}
.center
{
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 130px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.center img
{
height: 128px;
width: 128px;
}
.style1
{
text-align: center;
}
</style>
</asp:Content>
<asp:Content ID="content2" ContentPlaceHolderID="id1" runat="server">
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="up1">
<ProgressTemplate>
<div class="modal" >
<div class="center">
<img alt="" src="assets/img/ajax-loader%20(1).gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i> Canteen Master</h3>
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<%--<form class="form-horizontal style-form" id="form1"
runat="server"> --%>
<cc1:ToolkitScriptManager ID="tsm1" runat="server"
EnablePageMethods="true"></cc1:ToolkitScriptManager>
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<div class="row" hidden="hidden">
<div class="col-sm-2">
<h4 class="mb"><i class="fa fa-angle-right"></i> Canteen
Entry</h4></div>
<div class="col-sm-4">
<asp:TextBox ID="searchcanteenname" runat="server"
class="form-control round-form" placeholder="Search Canteen Name"

27
AutoPostBack="True"
OnTextChanged="searchcanteenname_TextChanged"></asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10"
TargetControlID="searchcanteenname" ID="AutoCompleteExtender7" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="searchcanteen"
UseContextKey="True">
</cc1:autocompleteextender></div></div>
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-label"
runat="server" Visible="false" >Canteen Id</label>
<div class="col-sm-10">
<asp:TextBox ID="Textcanteenid" runat="server"
CssClass="form-control round-form"
Visible="false"
Enabled="false"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-
label">Canteen Name</label>
<div class="col-sm-10">
<asp:TextBox ID="Textcanteenname" runat="server"
class="form-control round-form" placeholder="Enter Canteen Name"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-
label">Hostel Name</label>
<div class="col-sm-10">
<asp:HiddenField ID="cmid" runat="server" />
<asp:TextBox ID="Texthostel" runat="server" class="form-
control round-form" placeholder="Enter Hostel Name"
OnTextChanged="Texthostel_TextChanged"
AutoPostBack="True"> </asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10" TargetControlID="Texthostel"
ID="AutoCompleteExtender2" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="Searchhostel"
UseContextKey="True">
</cc1:autocompleteextender>
</div></div>
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-
label">Institute Name</label>
<div class="col-sm-10">
<asp:DropDownList ID="ddlinstitute" runat="server"
CssClass="form-control round-form" Enabled="false" > </asp:DropDownList>

28
</div>
</div>
<div align="center">
<asp:Button ID="btnsubmit" class="btn btn-round
btn-success" runat="server" Text="Save" OnClick="btnsubmit_Click"></asp:Button>
<asp:Button ID="btndelete" class="btn btn-round btn-
danger" runat="server" Text="Delete" OnClick="btndelete_Click"></asp:Button>
<asp:Button ID="btncancel" class="btn btn-round btn-
danger" runat="server" Text="Reset" OnClick="btncancel_Click"></asp:Button>
</div>
<div class="row">
<div class="col-lg-12">
<section class="panel default blue_title h2">
<div id="div1" runat="server">
<div class="panel-body">
<div class="table-responsive">
<asp:GridView ID="GrdPrdcat" runat="server" CssClass="table
table-bordered"
OnSelectedIndexChanged="GrdPrdcat_SelectedIndexChanged"
AutoGenerateColumns="true" OnRowCreated="GrdPrdcat_RowCreated">
<AlternatingRowStyle BackColor="#BFE4FF" />
<PagerStyle BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" />
<HeaderStyle Height="30px" BackColor="#6DC2FF" Font-Size="15px"
BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" />
<RowStyle Height="20px" Font-Size="13px" BorderColor="#CCCCCC"
BorderStyle="Solid"
BorderWidth="1px" />
<Columns>
<%--<asp:TemplateField HeaderText="SlNo">
<ItemTemplate>
<%# Container.DataItemIndex+1 %>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="cantid" HeaderText="Sl No"/>
<asp:BoundField DataField="cantname" HeaderText="Canteen Name"/>
<asp:BoundField DataField="hostelname" HeaderText="Hostel Name"/>
<asp:BoundField DataField="institutename" HeaderText="Institute
Name"/>--%>
<asp:ButtonField CommandName="SELECT" HeaderText="SELECT"
Text="SELECT" />
</Columns>
</asp:GridView>
</div></div></div></section></div></div>
</ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%-- </form>--%>
</div>
</div><!-- col-lg-12-->
</div>
</section><! --/wrapper -->
</section><!-- /MAIN CONTENT -->

</asp:Content>

29
Change password
-----------------------------------
<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"
AutoEventWireup="true" CodeFile="changepassword.aspx.cs" Inherits="changepassword"
%>
<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"
TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="id1" Runat="Server">
<section id="main-content">
<section class="wrapper">
<div class="content-wrapper" >
<div class="container" >
<div class="row">
<div class="col-md-12">
<h2 class="form-login-heading">Change Password</h2>
</div>
</div>
<div class="row" style="align:center; text-align:center">
<div class="col-md-6">
<div class="panel panel-default">
<div class="panel-heading">
ADMIN REGISTER
</div>
<div class="panel-body">
<%--<form class="form-horizontal style-form" id="form1"
runat="server"> --%>
<cc1:ToolkitScriptManager ID="tsm1" runat="server"
EnablePageMethods="true"></cc1:ToolkitScriptManager>
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate> <div class="form-group has-success">
<asp:DropDownList ID="ddlinstitute" runat="server" CssClass="form-
control control-label" Enabled="false" > </asp:DropDownList>
<br />
<asp:TextBox ID="Textuserid" runat="server" class="form-
control control-label" placeholder="User ID" autofocus="autofocus"></asp:TextBox>
<br />
<asp:TextBox ID="Textpassword" runat="server" class="form-
control round-form" placeholder="Password"
TextMode="Password" autofocus="autofocus"></asp:TextBox>
<br />
<asp:TextBox ID="Textconfirmpswd" runat="server"
class="form-control round-form" placeholder="Confirm Password"
TextMode="Password" autofocus="autofocus"></asp:TextBox>
<br />
<asp:TextBox ID="Textemailid" runat="server" class="form-
control round-form" placeholder="Email Id" autofocus="autofocus"></asp:TextBox>
<br />
<asp:TextBox ID="Textmobileno" runat="server" class="form-
control round-form" placeholder="Mobile No" autofocus="autofocus"></asp:TextBox>
<hr />
<a><span class="glyphicon glyphicon-user"></span>

30
<asp:Button ID="btnsubmit" class="btn btn-info" runat="server"
Text="SAVE" OnClick="btnsubmit_Click">
</asp:Button>&nbsp;&nbsp;&nbsp;</a>
<a> <span class="glyphicon glyphicon-lock"></span>
<asp:Button ID="btncancel" class="btn btn-info" runat="server"
Text="RESET" OnClick="btncancel_Click"></asp:Button>
</a></div>
</ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%-- </form> --%>

</div>

</div>
</div></div>
</div></div>
</section></section>
</asp:Content>

31
Canteen_Hostel

<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"


AutoEventWireup="true" CodeFile="canteen_hostel.aspx.cs" Inherits="canteen_hostel"
%>

<%--<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0,


Culture=neutral, PublicKeyToken=89845dcd8080cc91"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>--%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"


TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.AutoExtender
{
font-family: Verdana, Helvetica, sans-serif;
font-size: .9em;
font-weight: normal;
border: solid 2px #006699;
line-height: 20px;
padding: 10px;
background-color: White;
margin-left: 10px;
}
.AutoExtenderList
{
border-bottom: dotted 2px #006699;
cursor: pointer;
color: Maroon;
}
.AutoExtenderHighlight
{
color: White;
background-color: #006699;
cursor: pointer;
}
#divwidth
{
width: 150px !important;
}
#divwidth div
{
width: 150px !important;
}
.upcs
{
text-transform:uppercase;
}

body
{
margin: 0;
padding: 0;
}

32
.modal
{
position: absolute;
z-index: 999;
top: 233px;
background-color: Black;
filter: alpha(opacity=60);
opacity: 0.6;
-moz-opacity: 0.8;
}
.center
{
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 130px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.center img
{
height: 128px;
width: 128px;
}
.style1
{
text-align: center;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="id1" Runat="Server">
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="up1">
<ProgressTemplate>
<div class="modal" >
<div class="center">
<img alt="" src="assets/img/ajax-loader%20(1).gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i>Reporting</h3>
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<%--<form class="form-horizontal style-form" id="form1"
runat="server"> --%>
<cc1:ToolkitScriptManager ID="tsm1" runat="server"
EnablePageMethods="true"></cc1:ToolkitScriptManager>
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate> <div class="row">
<div class="col-sm-3">

33
<h4 class="mb"><i class="fa fa-angle-
right"></i>Choose Action TO Navigate</h4></div>
</div>
<div class="form-group">
<div class="col-sm-2">
<div class="radio">
<label>
<asp:RadioButton ID="rdbsingle" runat="server"
Text="Canteen Reports" OnCheckedChanged="rdbsingle_CheckedChanged"
AutoPostBack="true" GroupName="id" />
</label>
</div></div>
<div class="col-sm-2">
<div class="radio">
<label>
<asp:RadioButton ID="rdbbulk"
runat="server" Text="Hostel Reports" OnCheckedChanged="rdbbulk_CheckedChanged"
AutoPostBack="true" GroupName="id" />
</label>
</div></div>
<div class="col-sm-1">
<asp:Button ID="btnshow" class="btn btn-round btn-success"
runat="server" Text="SHOW"
OnClick="btnshow_Click" /></div>
<div class="col-sm-1">
<asp:Button ID="btncancel" class="btn btn-round btn-danger"
runat="server" Text="Reset"
OnClick="btncancel_Click"></asp:Button></div>
</div>

<div class="form-group">
<div class="has-error">
<div class="col-sm-5">
<label class="col-sm-7 col-sm-7 control-label"
id="cantid" runat="server" >Canteen Name</label>
<asp:HiddenField ID="caid" runat="server" />
<asp:TextBox ID="searchcanteenname" runat="server"
CssClass="form-control round-form"
placeholder="Search Canteen Name" AutoPostBack="True"
OnTextChanged="searchcanteenname_TextChanged" ></asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10"
TargetControlID="searchcanteenname" ID="AutoCompleteExtender7" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="searchcanteen"
UseContextKey="True">
</cc1:autocompleteextender></div></div>
<div class="has-error">
<div class="col-sm-5">
<label class="col-sm-6 col-sm-6 control-label" id="hostelid"
runat="server" >Hostel Name</label>
<asp:HiddenField ID="hsid" runat="server" />
<asp:TextBox ID="searchhostelname" runat="server"
placeholder="Search Hostel Name" CssClass="form-control round-form"

34
AutoPostBack="True"
OnTextChanged="searchhostelname_TextChanged" ></asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10"
TargetControlID="searchhostelname" ID="AutoCompleteExtender1" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="searchhostel"
UseContextKey="True">
</cc1:autocompleteextender>
</div></div>
</div>
<%-- <rsweb:ReportViewer ID="ReportViewer1" runat="server"
ShowToolBar="True" Font-Names="Calibri"
WaitMessageFont-Names="Calibri" ClientIDMode="Static"
Height="500px" Width="100%"
PageCountMode="Actual" ShowPageNavigationControls="True"
ShowPrintButton="False" ShowRefreshButton="True"
ShowZoomControl="True"></rsweb:ReportViewer>--%>
<div class="row">
<div class="col-lg-12">
<section class="panel default blue_title h2">
<div id="div1" runat="server">
<div class="panel-body">
<div class="table-responsive">
<asp:GridView ID="GridView1" runat="server" CssClass="table
table-bordered" AutoGenerateColumns="true" >
<AlternatingRowStyle BackColor="#BFE4FF" />
<PagerStyle BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" />
<HeaderStyle Height="30px" BackColor="#6DC2FF" Font-Size="15px"
BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" />
<RowStyle Height="20px" Font-Size="13px" BorderColor="#CCCCCC"
BorderStyle="Solid"
BorderWidth="1px" />
</asp:GridView>
</div></div></div></section></div></div> </ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%--</form>--%>

</div></div></div>
</section>
</section>

</asp:Content>

35
Hostel Master
<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"
AutoEventWireup="true" CodeFile="hostelmaster.aspx.cs" Inherits="hostelmaster" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"


TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.AutoExtender
{
font-family: Verdana, Helvetica, sans-serif;
font-size: .9em;
font-weight: normal;
border: solid 2px #006699;
line-height: 20px;
padding: 10px;
background-color: White;
margin-left: 10px;
}
.AutoExtenderList
{
border-bottom: dotted 2px #006699;
cursor: pointer;
color: Maroon;
}
.AutoExtenderHighlight
{
color: White;
background-color: #006699;
cursor: pointer;
}
#divwidth
{
width: 150px !important;
}
#divwidth div
{
width: 150px !important;
}
.upcs
{
text-transform:uppercase;
}

body
{
margin: 0;
padding: 0;
}
.modal
{

36
position: absolute;
z-index: 999;
top: 233px;
background-color: Black;
filter: alpha(opacity=60);
opacity: 0.6;
-moz-opacity: 0.8;
}
.center
{
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 130px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.center img
{
height: 128px;
width: 128px;
}
.style1
{
text-align: center;
}
</style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="id1" Runat="Server">
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="up1">
<ProgressTemplate>
<div class="modal" >
<div class="center">
<img alt="" src="assets/img/ajax-loader%20(1).gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i> Hostel Master</h3>
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<%--<form class="form-horizontal style-form" id="form1"
runat="server"> --%>
<asp:ScriptManager ID="Sc1" runat="server"
EnablePageMethods="true"></asp:ScriptManager>
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>

<div class="row" hidden="hidden">


<div class="col-sm-2">

37
<h4 class="mb"><i class="fa fa-angle-right"></i> Hostel
Entry</h4></div>
<div class="col-sm-4">
<asp:TextBox ID="searchhostelname" runat="server"
class="form-control round-form" placeholder="Search Hostel Name"
AutoPostBack="True"
OnTextChanged="searchhostelname_TextChanged"></asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10"
TargetControlID="searchhostelname" ID="AutoCompleteExtender7" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="searchhostel"
UseContextKey="True">
</cc1:autocompleteextender></div></div>
<div class="form-group">
<label id="Label1" class="col-sm-2 col-sm-2 control-
label" runat="server" Visible="false" >Hostel Id</label>
<div class="col-sm-10">
<asp:TextBox ID="Texthostelid" runat="server"
CssClass="form-control round-form"
Visible="false" Enabled="false"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-
label">Hostel Name</label>
<div class="col-sm-10">
<asp:TextBox ID="Texthostelname" runat="server"
class="form-control round-form" placeholder="Enter Hostel Name"></asp:TextBox>
</div>
</div>
<div class="form-group">
<label class="col-sm-2 col-sm-2 control-
label">Institute Name</label>
<div class="col-sm-10">
<asp:DropDownList ID="ddlinstitute" runat="server"
CssClass="form-control round-form" Enabled="false" > </asp:DropDownList>
</div>
</div>

<div align="center">
<asp:Button ID="btnsubmit" class="btn btn-round
btn-success" runat="server" Text="Save" OnClick="btnsubmit_Click"></asp:Button>
<asp:Button ID="btndelete" class="btn btn-round btn-
danger" runat="server" Text="Delete" OnClick="btndelete_Click"></asp:Button>
<asp:Button ID="btncancel" class="btn btn-round btn-
danger" runat="server" Text="Reset" OnClick="btncancel_Click"></asp:Button>
</div>
<div class="row">
<div class="col-lg-12">
<section class="panel default blue_title h2">
<div id="div1" runat="server">
<div class="panel-body">
<div class="table-responsive">

38
<asp:GridView ID="GrdPrdcat" runat="server" CssClass="table
table-bordered"
OnSelectedIndexChanged="GrdPrdcat_SelectedIndexChanged"
AutoGenerateColumns="true" OnRowCreated="GrdPrdcat_RowCreated">
<AlternatingRowStyle BackColor="#BFE4FF" />
<PagerStyle BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" />
<HeaderStyle Height="30px" BackColor="#6DC2FF" Font-Size="15px"
BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" />
<RowStyle Height="20px" Font-Size="13px" BorderColor="#CCCCCC"
BorderStyle="Solid"
BorderWidth="1px" />
<Columns>
<%--<asp:TemplateField HeaderText="SlNo">
<ItemTemplate>
<%# Container.DataItemIndex+1 %>
</ItemTemplate>
</asp:TemplateField>
<asp:BoundField DataField="hostelid" HeaderText="Sl No"/>
<asp:BoundField DataField="hostelname" HeaderText="Hostel Name"/>
<asp:BoundField DataField="institutename" HeaderText="Institute
Name"/> --%>
<asp:ButtonField CommandName="SELECT" HeaderText="SELECT"
Text="SELECT" />
</Columns>
</asp:GridView>
</div></div></div></section></div></div>
</ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%-- </form>--%>
</div>
</div><!-- col-lg-12-->
</div>
</section><! --/wrapper -->
</section><!-- /MAIN CONTENT -->

</asp:Content>

Student Master

39
<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"
AutoEventWireup="true" CodeFile="studentmaster.aspx.cs" Inherits="studentmaster"
%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"


TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.AutoExtender
{
font-family: Verdana, Helvetica, sans-serif;
font-size: .9em;
font-weight: normal;
border: solid 2px #006699;
line-height: 20px;
padding: 10px;
background-color: White;
margin-left: 10px;
}
.AutoExtenderList
{
border-bottom: dotted 2px #006699;
cursor: pointer;
color: Maroon;
}
.AutoExtenderHighlight
{
color: White;
background-color: #006699;
cursor: pointer;
}
#divwidth
{
width: 150px !important;
}
#divwidth div
{
width: 150px !important;
}
.upcs
{
text-transform:uppercase;
}

body
{
margin: 0;
padding: 0;
}
.modal
{
position: absolute;
z-index: 999;
top: 233px;
background-color: Black;
filter: alpha(opacity=60);
opacity: 0.6;

40
-moz-opacity: 0.8;
}
.center
{
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 130px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.center img
{
height: 128px;
width: 128px;
}
.style1
{
text-align: center;
}
</style>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="id1" Runat="Server">
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="up1">
<ProgressTemplate>
<div class="modal" >
<div class="center">
<img alt="" src="assets/img/ajax-loader%20(1).gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i> <asp:Label ID="LblHead1"
runat="server"></asp:Label></h3>
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<%-- <form class="form-horizontal style-form" id="form1"
runat="server">--%>
<asp:ScriptManager ID="ScriptManager1" runat="server"
EnablePageMethods="true"></asp:ScriptManager>
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<%--<div class="row">--%>
<div class="row">
<div class="col-sm-2">
<h4 class="mb"><i class="fa fa-angle-
right"></i><asp:Label ID="LblHead2" runat="server"></asp:Label></h4> </div>
<div class="col-sm-3">
<asp:Label runat="server" ID="lblsearch" BorderColor="Black"
Font-Bold="true">Search By:</asp:Label>&nbsp;&nbsp;&nbsp;&nbsp;

41
<asp:RadioButton ID="rdbcard" runat="server"
Text="Card No" GroupName="id" AutoPostBack="true"
Font-Bold="true"
Visible="false"/>&nbsp;&nbsp;&nbsp;&nbsp;
<asp:RadioButton ID="rdbroll" runat="server"
Text="Roll No" GroupName="id"
AutoPostBack="true" Font-Bold="true" Visible="false"/>
<asp:RadioButton ID="rdbstaffcode" runat="server"
Text="Staffcode"
GroupName="id" AutoPostBack="true" Font-
Bold="true" Visible="false"/>
</div>
<div class="col-sm-4">
<asp:TextBox ID="searchrollno" runat="server" class="form-
control round-form"
placeholder="Enter To Search Details"
AutoPostBack="True"
OnTextChanged="searchrollno_TextChanged"></asp:TextBox>
<asp:TextBox ID="searchstaffcode" runat="server"
class="form-control round-form"
placeholder="Enter To Search Details"
AutoPostBack="True"
OnTextChanged="searchstaffcode_TextChanged">
</asp:TextBox>
</div>

</div>
<div class="form-group">
<div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label"
id="lblstudent" runat="server">Student Name</label>
<asp:TextBox ID="TextStudentname" runat="server"
class="form-control round-form"
placeholder="Enter Student Name"
OnTextChanged="TextStudentname_TextChanged"></asp:TextBox>
<label class="col-sm-6 col-sm-8 control-label"
id="lblstaff" runat="server">Staff Name</label>
<asp:TextBox ID="Textstaff" runat="server"
class="form-control round-form" placeholder="Enter Staff Name">
</asp:TextBox>
</div>
<div class="col-sm-4">
<label class="col-sm-4 col-sm-8 control-label"
id="lblrollno" runat="server">Roll No</label>
<asp:TextBox ID="Textrollno" runat="server"
class="form-control round-form" placeholder="Enter Roll No"
OnTextChanged="Textrollno_TextChanged"></asp:Tex
tBox>
<label class="col-sm-4 col-sm-8 control-label"
id="lblcode" runat="server">Staff Code</label>
<asp:TextBox ID="Textstaffcode" runat="server"
class="form-control round-form"
placeholder="Enter Staff Code"></asp:TextBox>
</div>
<div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label" >Card
No</label>

42
<asp:TextBox ID="textcard" runat="server" class="form-
control round-form" placeholder="Enter Card No"
OnTextChanged="textcard_TextChanged"> </asp:TextBox>
</div> </div>
<div class="form-group">
<div class="col-sm-4">
<label class="col-sm-4 col-sm-8 control-label"
>Address</label>
<asp:TextBox ID="Textaddress" runat="server"
class="form-control round-form"
placeholder="Enter Address"
OnTextChanged="Textaddress_TextChanged"></asp:TextBox>
</div>
<div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label"
>Contact No</label>
<asp:TextBox ID="Textcontactno" runat="server"
class="form-control round-form"
placeholder="Enter Contact No"></asp:TextBox>
</div>
<div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label" >Food
Prefernce</label>
<asp:DropDownList ID="ddlfoodtype" runat="server"
class="form-control round-form"
OnSelectedIndexChanged="ddlfoodtype_SelectedIndexC
hanged">
<asp:ListItem>--Select--</asp:ListItem>
<asp:ListItem>Veg</asp:ListItem>
<asp:ListItem>Non Veg</asp:ListItem>
</asp:DropDownList>
</div></div>
<div class="form-group">
<div class="col-sm-4">
<label class="col-sm-4 col-sm-8 control-label" >Room
No</label>
<asp:TextBox ID="Textroomno" runat="server"
class="form-control round-form"
placeholder="Enter Room No" ></asp:TextBox>
</div> <div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label"
>Hostel Name</label>
<asp:HiddenField ID="hsid" runat="server" />
<asp:TextBox ID="Texthostel" runat="server" class="form-
control round-form" placeholder="Select Hostel Name"
OnTextChanged="Texthostel_TextChanged"
AutoPostBack="True"> </asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10" TargetControlID="Texthostel"
ID="AutoCompleteExtender2" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="Searchhostel"
UseContextKey="True">
</cc1:autocompleteextender>

43
</div>
<div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label"
>Canteen Name</label>
<asp:HiddenField ID="caid" runat="server" />
<asp:TextBox ID="Textcanteen" runat="server" class="form-
control round-form" placeholder="Select Canteen Name"
OnTextChanged="Textcanteen_TextChanged"
AutoPostBack="True"> </asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10" TargetControlID="Textcanteen"
ID="AutoCompleteExtender5" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="Searchcanteen"
UseContextKey="True">
</cc1:autocompleteextender>
</div> </div>
<div class="form-group">
<div class="col-sm-4">
<label class="col-sm-6 col-sm-8 control-label"
>Institute Name</label>
<asp:DropDownList ID="ddlinstitute" runat="server"
CssClass="form-control round-form" Enabled="false" > </asp:DropDownList>
</div>
<div class="col-sm-4">
<label class="col-sm-4 col-sm-8 control-label"
id="lblsid" runat="server" visible="false">Student Id</label>
<asp:TextBox ID="TextStudentid" runat="server"
CssClass="form-control round-form" Enabled="false" Visible="false">
</asp:TextBox>
<label class="col-sm-4 col-sm-8 control-label"
id="lblstaffid" runat="server" visible="false" >Staff Id</label>
<asp:TextBox ID="Textstaffid" runat="server"
CssClass="form-control round-form" Enabled="false" visible="false">
</asp:TextBox>
</div>
</div>
<div align="center">
<asp:Button ID="btnsubmit" class="btn btn-round
btn-success" runat="server" Text="Save" OnClick="btnsubmit_Click"></asp:Button>
<asp:Button ID="btndelete" class="btn btn-round btn-
danger" runat="server" Text="Delete" OnClick="btndelete_Click"></asp:Button>
<asp:Button ID="btncancel" class="btn btn-round btn-
danger" runat="server" Text="Reset" OnClick="btncancel_Click"></asp:Button>
</div>
</ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%-- </form>--%>
</div></div>
</div>
</section>
</section>

44
</asp:Content>

Student Reports

45
<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"
AutoEventWireup="true" CodeFile="studentreport.aspx.cs" Inherits="studentreport"
%>

<%--<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0,


Culture=neutral, PublicKeyToken=89845dcd8080cc91"
Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>--%>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"


TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style type="text/css">
.AutoExtender
{
font-family: Verdana, Helvetica, sans-serif;
font-size: .9em;
font-weight: normal;
border: solid 2px #006699;
line-height: 20px;
padding: 10px;
background-color: White;
margin-left: 10px;
}
.AutoExtenderList
{
border-bottom: dotted 2px #006699;
cursor: pointer;
color: Maroon;
}
.AutoExtenderHighlight
{
color: White;
background-color: #006699;
cursor: pointer;
}
#divwidth
{
width: 150px !important;
}
#divwidth div
{
width: 150px !important;
}
.upcs
{
text-transform:uppercase;
}

body
{
margin: 0;
padding: 0;
}
.modal
{
position: absolute;
z-index: 999;

46
top: 233px;
background-color: Black;
filter: alpha(opacity=60);
opacity: 0.6;
-moz-opacity: 0.8;
}
.center
{
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 130px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.center img
{
height: 128px;
width: 128px;
}
.style1
{
text-align: center;
}

</style>
<script language="javascript" type="text/javascript">
function printDiv(divID) {
//Get the HTML of div
var divElements = document.getElementById(divID).innerHTML;
//Get the HTML of whole page
var oldPage = document.body.innerHTML;

//Reset the page's HTML with div's HTML only


document.body.innerHTML =
"<html><head></head><body>" +
divElements + "</body>";

//Print Page
window.print();

//Restore orignal HTML


document.body.innerHTML = oldPage;
}

var prm = Sys.WebForms.PageRequestManager.getInstance();


prm.add_initializeRequest(InitializeRequest);
prm.add_endRequest(EndRequest);
var postBackElement;
function InitializeRequest(sender, args) {
if (prm.get_isInAsyncPostBack())
args.set_cancel(true);
postBackElement = args.get_postBackElement();

if (postBackElement.id == 'btnshow1')

47
$get('UpdateProgress1').style.display = 'block';
}
function EndRequest(sender, args) {
if (postBackElement.id == 'btnshow1')
$get('UpdateProgress1').style.display = 'none';
}
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="id1" Runat="Server">
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i><asp:Label ID="LblHead1"
runat="server"></asp:Label></h3>
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<%-- <form class="form-horizontal style-form" id="form1"
runat="server">--%>
<asp:ScriptManager ID="ScriptManager1" runat="server"
EnablePageMethods="true"></asp:ScriptManager>
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="upd1">
<ProgressTemplate>
<div class="modal" >
<div class="center">
<img alt="Loading..." src="assets/img/ajax-loader%20(1).gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<asp:UpdatePanel ID="upd1" runat="server">
<ContentTemplate>
<div class="row">
<div class="col-sm-3">
<h4 class="mb"><i class="fa fa-angle-
right"></i>Choose Action TO Navigate</h4></div>
</div>
<%-- <asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>--%>
<div class="form-group">
<div class="col-sm-3">
<div class="radio"><label>
<asp:RadioButton ID="rdbstudent"
runat="server" Text="StudentWise Reports" AutoPostBack="true"
GroupName="id1"
OnCheckedChanged="rdbstudent_CheckedChanged" />
</label>
<label>
<asp:RadioButton ID="rdbstaff"
runat="server" Text="StaffWise Reports" AutoPostBack="true"
GroupName="id1"
OnCheckedChanged="rdbstaff_CheckedChanged"/>
</label> </div></div>
<div class="col-sm-3">
<div class="radio"><label>
<asp:RadioButton ID="rdbin"
runat="server" Text="Present/Absent Reports" AutoPostBack="true"

48
GroupName="id1"
OnCheckedChanged="rdbin_CheckedChanged"/></label>
<label>
<asp:RadioButton ID="rdbcanteen" runat="server"
Text="Canteen Reports" Visible="false"
GroupName="id"
OnCheckedChanged="rdbcanteen_CheckedChanged" AutoPostBack="true" />
</label>
</div></div>
<div class="col-sm-2">
<div class="radio">
<label>
<asp:RadioButton ID="rdbhostel"
runat="server" Text="Hostel Reports" Visible="false"
GroupName="id"
OnCheckedChanged="rdbhostel_CheckedChanged" AutoPostBack="true" />
</label>
</div></div>
<div class="col-sm-1">
<asp:Button ID="btnGenerate" class="btn btn-round btn-danger"
runat="server" Text="Generate"
OnClick="btnGenerate_Click"
Visible="False"></asp:Button></div>

<div class="col-sm-1">
<asp:Button ID="btnshow" class="btn btn-round btn-success"
runat="server" Text="SHOW" Visible="false"
OnClick="btnshow_Click" />
<asp:Button ID="btnshow1" class="btn btn-round
btn-warning" runat="server" Text="SHOW" Visible="false"
OnClick="btnshow1_Click" />
<asp:Button ID="btnshow2" class="btn btn-round
btn-success" runat="server" Text="SHOW" Visible="false"
OnClick="btnshow2_Click" />
</div>
<div class="col-sm-1">
<asp:Button ID="btncancel" class="btn btn-round btn-danger"
runat="server" Text="Reset"
OnClick="btncancel_Click"></asp:Button></div>
<div class="col-sm-1">
<asp:ImageButton ID="ImageButton1" runat="server"
ImageUrl="assets/img/export_to_excels.jpg" OnClick="ImageButton1_Click"
Width="60px" Visible="false" />
</div></div>
<div class="form-group">
<div class="has-error">
<div class="col-sm-3">
<label class="col-sm-5 col-sm-5 control-label"
id="lbldfromate" runat="server" >From Date:-</label>
<asp:TextBox ID="txtfrom" runat="server" cssclass="form-
control"
ontextchanged="txtfrom_TextChanged"
placeholder="dd/MM/yyyy"> </asp:TextBox>
<cc1:CalendarExtender ID="txtfrom_CalendarExtender"
runat="server" Enabled="true" TodaysDateFormat="dd/MM/yyyy"
Format="dd/MM/yyyy"
TargetControlID="txtfrom"></cc1:CalendarExtender>

49
<asp:RequiredFieldValidator
ID="RequiredFieldValidator1" runat="server"
ControlToValidate="txtfrom" ErrorMessage="Date
Should not be Blank"
ValidationGroup="P"></asp:RequiredFieldValidator>
</div></div>
<div class="has-error">
<div class="col-sm-3">
<label class="col-sm-4 col-sm-4 control-label" id="lbldateto"
runat="server" >To Date:-</label>
<asp:TextBox ID="Textto" runat="server" cssclass="form-control"
placeholder="dd/MM/yyyy"
ontextchanged="Textto_TextChanged"></asp:TextBox>
<cc1:CalendarExtender ID="Textto_CalendarExtender" runat="server"
Enabled="true" Format="dd/MM/yyyy" TodaysDateFormat="dd/MM/yyyy"
TargetControlID="Textto"> </cc1:CalendarExtender>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server"
ControlToValidate="Textto" ErrorMessage="Date
Should not be Blank"
ValidationGroup="P"></asp:RequiredFieldValidator>
</div></div>
<div class="has-error">
<div class="col-sm-3">
<label class="col-sm-7 col-sm-7 control-label"
id="cantid" runat="server" visible="false" >Canteen Name</label>
<asp:HiddenField ID="caid" runat="server" />
<asp:TextBox ID="searchcanteenname" runat="server"
class="form-control" placeholder="Search Canteen Name"
AutoPostBack="True"
OnTextChanged="searchcanteenname_TextChanged" visible="false" ></asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10"
TargetControlID="searchcanteenname" ID="AutoCompleteExtender7" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"
FirstRowSelected="true" ServiceMethod="searchcanteen"
UseContextKey="True">
</cc1:autocompleteextender>
<label class="col-sm-6 col-sm-6 control-label" id="hostelid"
runat="server" visible="false" >Hostel Name</label>
<asp:HiddenField ID="hsid" runat="server" />
<asp:TextBox ID="searchhostelname" runat="server"
class="form-control" placeholder="Search Hostel Name"
AutoPostBack="True"
OnTextChanged="searchhostelname_TextChanged" visible="false"></asp:TextBox>
<cc1:autocompleteextender MinimumPrefixLength="1"
CompletionInterval="100" EnableCaching="false"
CompletionSetCount="10"
TargetControlID="searchhostelname" ID="AutoCompleteExtender1" runat="server"
CompletionListCssClass="AutoExtender"
CompletionListItemCssClass="AutoExtenderList"
CompletionListHighlightedItemCssClass="AutoExtenderHighl
ight" CompletionListElementID="divwidth"

50
FirstRowSelected="true" ServiceMethod="searchhostel"
UseContextKey="True">
</cc1:autocompleteextender>
</div></div>
</div>
<div class="row">
<div class="col-lg-12">
<section class="panel default blue_title h2">
<div id="div1" runat="server">
<div class="panel-body">
<div class="table-responsive">
<asp:GridView ID="GridView1" runat="server" CssClass="table
table-bordered" AutoGenerateColumns="false"
EmptyDataText="No Record Found !!!" ForeColor="black"
Visible="false" >
<Columns>
<asp:TemplateField HeaderText="Date">
<ItemTemplate>
<asp:Label ID="Lbldate" runat="server" Text='<%#
Eval("Date") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Regd No">
<ItemTemplate>
<asp:Label ID="Lblroll" runat="server" Text='<%#
Eval("RollNo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Card No">
<ItemTemplate>
<asp:Label ID="Lblcardno" runat="server" Text='<%#
Eval("CardNo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Student Name">
<ItemTemplate>
<asp:Label ID="Lblstud" runat="server" Text='<%#
Eval("Studentname") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Room No">
<ItemTemplate>
<asp:Label ID="LblRoomNo" runat="server" Text='<%#
Eval("RoomNo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Hostel">
<ItemTemplate>
<asp:Label ID="Lblhostel" runat="server" Text='<%#
Eval("HostelName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Canteen">
<ItemTemplate>
<asp:Label ID="Lblcanteen" runat="server" Text='<
%# Eval("CanteenName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>

51
<asp:TemplateField HeaderText="InTime">
<ItemTemplate>
<asp:Label ID="Lblintime" runat="server" Text='<%#
Eval("InTime") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="OutTime">
<ItemTemplate>
<asp:Label ID="Lblouttime" runat="server" Text='<
%# Eval("OutTime") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Status">
<ItemTemplate>
<asp:Label ID="Lblstatus" runat="server" Text='<%#
Eval("Status") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<AlternatingRowStyle BackColor="#BFE4FF" />
<PagerStyle BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" />
<HeaderStyle Height="30px" BackColor="#6DC2FF" Font-Size="15px"
BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" />
<RowStyle Height="20px" Font-Size="13px" BorderColor="#CCCCCC"
BorderStyle="Solid"
BorderWidth="1px" />
</asp:GridView>
<asp:GridView ID="GridView2" runat="server" CssClass="table
table-bordered" AutoGenerateColumns="false" Visible="false"
EmptyDataText="No Record Found !!!" ForeColor="black">
<Columns>
<asp:TemplateField HeaderText="Date">
<ItemTemplate>
<asp:Label ID="Lbldate" runat="server" Text='<%#
Eval("Date") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Staff Code">
<ItemTemplate>
<asp:Label ID="Lblroll" runat="server" Text='<%#
Eval("StaffCode") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Card No">
<ItemTemplate>
<asp:Label ID="Lblcardno" runat="server" Text='<%#
Eval("CardNo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Staff Name">
<ItemTemplate>
<asp:Label ID="Lblstud" runat="server" Text='<%#
Eval("StaffName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Room No">

52
<ItemTemplate>
<asp:Label ID="LblRoomNo" runat="server" Text='<%#
Eval("RoomNo") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Hostel">
<ItemTemplate>
<asp:Label ID="Lblhostel" runat="server" Text='<%#
Eval("HostelName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Canteen">
<ItemTemplate>
<asp:Label ID="Lblcanteen" runat="server" Text='<
%# Eval("CanteenName") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="InTime">
<ItemTemplate>
<asp:Label ID="Lblintime" runat="server" Text='<%#
Eval("InTime") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="OutTime">
<ItemTemplate>
<asp:Label ID="Lblouttime" runat="server" Text='<
%# Eval("OutTime") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="Status">
<ItemTemplate>
<asp:Label ID="Lblstatus" runat="server" Text='<%#
Eval("Status") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
</Columns>
<AlternatingRowStyle BackColor="#BFE4FF" />
<PagerStyle BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" />
<HeaderStyle Height="30px" BackColor="#6DC2FF" Font-Size="15px"
BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" />
<RowStyle Height="20px" Font-Size="13px" BorderColor="#CCCCCC"
BorderStyle="Solid"
BorderWidth="1px" />
</asp:GridView>
<asp:GridView ID="GridView3" runat="server" CssClass="table
table-bordered" AutoGenerateColumns="true" Visible="false"
EmptyDataText="No Record Found !!!" ForeColor="black">
<AlternatingRowStyle BackColor="#BFE4FF" />
<PagerStyle BorderColor="#CCCCCC" BorderStyle="Solid"
BorderWidth="1px" />
<HeaderStyle Height="30px" BackColor="#6DC2FF" Font-Size="15px"
BorderColor="#CCCCCC"
BorderStyle="Solid" BorderWidth="1px" />
<RowStyle Height="20px" Font-Size="13px" BorderColor="#CCCCCC"
BorderStyle="Solid"
BorderWidth="1px" />

53
</asp:GridView>
</div></div></div></section></div></div>
</ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%--</form>--%>
</div></div></div>

</section>
</section>

</asp:Content>

Import

54
<%@ Page Title="" Language="C#" MasterPageFile="~/canteenmasterpage.master"
AutoEventWireup="true" CodeFile="import.aspx.cs" Inherits="import" %>

<%@ Register Assembly="AjaxControlToolkit" Namespace="AjaxControlToolkit"


TagPrefix="cc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">


<style type="text/css">
.AutoExtender
{
font-family: Verdana, Helvetica, sans-serif;
font-size: .9em;
font-weight: normal;
border: solid 2px #006699;
line-height: 20px;
padding: 10px;
background-color: White;
margin-left: 10px;
}
.AutoExtenderList
{
border-bottom: dotted 2px #006699;
cursor: pointer;
color: Maroon;
}
.AutoExtenderHighlight
{
color: White;
background-color: #006699;
cursor: pointer;
}
#divwidth
{
width: 150px !important;
}
#divwidth div
{
width: 150px !important;
}
.upcs
{
text-transform:uppercase;
}

body
{
margin: 0;
padding: 0;
}
.modal
{
position: absolute;
z-index: 999;
top: 233px;
background-color: Black;
filter: alpha(opacity=60);
opacity: 0.6;
-moz-opacity: 0.8;

55
}
.center
{
z-index: 1000;
margin: 300px auto;
padding: 10px;
width: 130px;
background-color: White;
border-radius: 10px;
filter: alpha(opacity=100);
opacity: 1;
-moz-opacity: 1;
}
.center img
{
height: 128px;
width: 128px;
}
.style1
{
text-align: center;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="id1" Runat="Server">
<asp:UpdateProgress ID="UpdateProgress1" runat="server"
AssociatedUpdatePanelID="up1">
<ProgressTemplate>
<div class="modal" >
<div class="center">
<img alt="" src="assets/img/ajax-loader%20(1).gif" />
</div>
</div>
</ProgressTemplate>
</asp:UpdateProgress>
<section id="main-content">
<section class="wrapper">
<h3><i class="fa fa-angle-right"></i>Attendance</h3>
<div class="row mt">
<div class="col-lg-12">
<div class="form-panel">
<%-- <form class="form-horizontal style-form" id="form1"
runat="server">--%>
<div class="row">
<div class="col-sm-3">
<h4 class="mb"><i class="fa fa-angle-
right"></i>Import Excel Entry</h4>
</div>
</div>
<div class="form-group">
<cc1:ToolkitScriptManager ID="tsm1" runat="server"
EnablePageMethods="true"></cc1:ToolkitScriptManager>
<div align="center" style="font-size: medium; font-weight: bold; font-family:Book
Antiqua;" >Excel Upload</div>
<div style="text-align:center;text-decoration:blink;" >
<a href="StudentEntryFormat.xlsx">Click Here to Download the Excel Sheet
Format....</a>

56
<asp:LinkButton ID="LnkDownload" runat="server" Text="Click Here to
Download the Excel Sheet Format...."
Visible="false" onclick="LnkDownload_Click"></asp:LinkButton>
</div>
<div class="row" > <div style="text-align:center;">Choose Excel File
to Upload:-</div>
<div class="col-sm-12" align="center"> <asp:FileUpload
ID="UploadExcel" runat="server"/></div></div><br />
<div style="text-align:center;">
<asp:Button ID="BtnSave" runat="server" Text="Upload"
onclick="BtnSave_Click"/>
<asp:Label ID="Label1" runat="server"
ForeColor="#FF3300"></asp:Label>
</div>
<asp:UpdatePanel ID="up1" runat="server">
<ContentTemplate>
<div class="col-sm-12">
<section class="panel default blue_title h2">
<div class="panel-body">
<div class="table-responsive">
<asp:GridView ID="GrdStock" runat="server" CssClass="table table-
bordered" AutoGenerateColumns="true" GridLines="Both"
ShowFooter="True" CellPadding="4" ForeColor="#333333"
BorderColor="#CC3300" EnableModelValidation="True"
Style="font-family: 'Book Antiqua'; font-size: medium"
PageSize="1" Width="100%" OnRowDeleting="GrdStock_RowDeleting">
<AlternatingRowStyle BackColor="White" />
<EditRowStyle BackColor="#7C6F57" />
<FooterStyle BackColor="#7C6F57" Font-Bold="false"
ForeColor="Black" />
<HeaderStyle BackColor="#7C6F57" Font-Bold="false"
ForeColor="Black" Font-Size="Medium"/>
<PagerStyle BackColor="#666666" ForeColor="White"
HorizontalAlign="Center" />
<RowStyle BackColor="#E3EAEB" Width="20px" Font-Size="Small"
/>
<SelectedRowStyle BackColor="#C5BBAF" Font-Bold="false"
ForeColor="#333333" />
</asp:GridView>
<div align="center">
<asp:Button ID="btnsubmit" class="btn btn-round btn-success"
runat="server" Text="Save" OnClick="btnsubmit_Click" Visible="false"
></asp:Button>
<asp:Button ID="btncancel" class="btn btn-round btn-danger"
runat="server" Text="Reset" OnClick="btncancel_Click" Visible="false"
></asp:Button>
</div></div></div></section></div></div>
</ContentTemplate>
<Triggers></Triggers>
</asp:UpdatePanel>
<%--</form>--%>

</div></div></div></section></section></asp:Content>

8. System Testing and Implementation

57
8.1 Introduction

After completed all the coding we have our proposed system developed. But
how will the client believe that the developed system is upto his requirement?
For this testing is essential.

To error is human. In this stage we cannot claim the percent % perfection of


our system. Different factors are responsible for our system not to become
error free. It may be the communication difference between our client and us.
May be some short of negligence from our side or may be the time constraint.

So testing is a vital instrument that makes our system acceptable.

Basically, our system is tested for achieving 5 factors. These are:

Online response.
Volume of transaction.
Stress testing.
Recovery & Security.
Usability.

8.2 Strategic Approach Of Software Testing

A strategy for the software testing integrate software test cases


techniques in to a well planed series of steps that results in successful
constructionof software. The strategy describes the steps to be conducted as a
part of testing.

8.3 Unit Testing:

Unit testing is done for each of the program we have done .Our overall
system consists of 15-16 independent program module is tested individually
for checking their proper functionality.

We have done this by debugging all independent modules & running them by
giving adequate input necessary for each module.

We have to check, whether:


58
the data validation is done properly or not.

invoking another servlet program properly or not.

one module is supplying proper value(s)to another module or not.

8.4 Test
After successful completion of individual form,the whole system
was run-Through a series of test to ensure the working of the system as
whole.

The reliability of the system was systematically and carefully monitered at


every stage of system development . the primary objective for test case
design is to derive a set of Test that have the highest likelihood for
uncovering errors in the the software.To Accompanies these objective
different categories test case design technique were used.

The testing process of the software to uncover errors in the


software,comprises of testing technique and testing strategies.

The testing technique applied to this software are

White box testing

Black box testing

The testing strategies adopted for this software are:

Unit testing

Integration testing

Validation testing

System testing

59
9.System Security
9.1Introduction
We have provided the database level security that will require authorized user
name and password to operate and use the database.

In addition, there will be administrator password and the administrator will


decide privileges assigned to users.

Triggers will be applied to databases.

We also intend to give form level password using Encryption.


9.2 Security In Software
Software project estimation is the process of estimating various resources
required for the completion of the project
Cost estimation is the next step for projects. The cost of a project is derived not
only from the estimates of effort and size but from other component such as
Hardware travel expenses.
The university has 11 hostels and 2 canteens, resident students and staffs uses
the canteen services . The canteen staffs has to maintain manual attendance
records for those students and staffs. As the students changes hostels and new
students enrolled each year it is difficult to track such records and also time
consuming

60
9. Future Application of the Project
As the project requires a some more time some features has not been added
which can be added in future like
 Student Master
 Hostel Master
 Canteen Master
 Employee

 Provide online interaction between student and the system for getting any
information.
 Host it on online server.
 Various other reports can be added.

61

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy