Niis Project SIP
Niis Project SIP
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.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
3. Feasibility Report
3.1 Understanding 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.
4
4.SOFTWARE REQUITEMENT SPECIFICATIONS
4.1 Software Specification
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.
Insertion anomaly: Inability to add data to the database due to absence 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.
7
5.3 E-R Diagram:
Logi
n
Employee
Attendance
Canid Cantname
Cid
Canteen Master
Attendance Register
or
Log
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
2. studentmaster table
3. Employee table
10
5. hostelmaster table
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" />
<!-- 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">
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" %>
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" %>
30
<asp:Button ID="btnsubmit" class="btn btn-info" runat="server"
Text="SAVE" OnClick="btnsubmit_Click">
</asp:Button> </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
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" %>
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>
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"
%>
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>
41
<asp:RadioButton ID="rdbcard" runat="server"
Text="Card No" GroupName="id" AutoPostBack="true"
Font-Bold="true"
Visible="false"/>
<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"
%>
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;
//Print Page
window.print();
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" %>
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>
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.
Online response.
Volume of transaction.
Stress testing.
Recovery & Security.
Usability.
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.
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.
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.
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