M O C M S 7 G 7 P S 8: Odules of Nline Ollege Anagement Ystem Oal of The Project Roject Cope
M O C M S 7 G 7 P S 8: Odules of Nline Ollege Anagement Ystem Oal of The Project Roject Cope
TABLE OF CONTENTS
TABLE OF CONTENTS 4
ABSTRACT 6
INTRODUCTION 7
PROBLEM DEFINITION 8
IDENTIFIED PROBLEMS 8
PROBLEM DEFINITION 8
PLANNING 9
REQUIREMENT SPECIFICATION 10
FUNCTIONAL REQUIREMENTS 11
✓ Overall Use case Diagram 13
✓ UC1 - Sign Up 14
✓ UC2 - Log In 16
✓ UC3 - Manage Profile 18
✓ UC4 – Update Records 20
NON-FUNCTIONAL REQUIREMENTS 22
LIFE CYCLE MODEL USED 24
CLASSICAL WATERFALL MODEL 25
COST ESTIMATION 26
HARDWARE AND SOFTWARE SPECIFICATIONS 38
MINIMUM HARDWARE REQUIREMENTS 38
MINIMUM SOFTWARE REQUIREMENTS 38
TOOLS/SOFTWARE USED 38
PROJECT SCHEDULE 39
GANTT CHART 39
PERT ANALYSIS 39
✓ Pessimistic Gantt 39
5
✓ Expected Gantt 40
✓ Optimistic Gantt 40
CRITICAL PATH 40
DESIGN 41
TESTING 51
TESTING PRINCIPLES 51
TESTING OBJECTIVES 51
TESTING CHARACTERISTICS 52
LEVELS OF TESTING 52
BLACK BOX TESTING 52
WHITE BOX TESTING 53
TEST PLAN 53
TEST CASE RESULT 54
CONCLUSION 56
REFERENCES 56
Abstract
Online College Management System (OCMS) provides a simple interface for
maintenance of student information. It can be used by educational institutes or
colleges to maintain the records of students easily. The creation and management of
accurate, up-to-date information regarding a students’ academic career is critically
important in the university as well as colleges. Student information system deals with
all kind of student details, academic related reports, college details, course details,
curriculum, batch details, placement details and other resource related details too.
It will also have faculty details, students’ details in all aspects, the various
academic notifications to the staff and students updated by the college administration.
It also facilitate us explore all the activities happening in the college, Different reports
and Queries can be generated based on vast options related to students, batch,
course, faculty, exams, semesters, certification and even for the entire college The
placement officer is responsible for updating the placement related information like
eligible criteria for a particular company, arriving date for the company which is
coming for recruitment, the list of students who are eligible for attending the
recruitment process.
7
Introduction
The survey also helped us in identifying the various modules to be included in our
system. They are as follows –
• Student Module
• Admin Module
• Payment Module
Today the internet and its boom have created a new economic scenario that not only
stresses on the classical concept of the “management” but also on the modern
concept of “service”. It is this level of service that dictates whether a commercial
venture will succeed or not in the market. To provide a high accessibility of service we
will design the online college management website, so that students need not go to a
physical registration office to check his report or achievement. They just need to online
to check their progress.
8
Providing the online interface for students, faculty etc., Increasing the efficiency of
college record management, Decrease time required to access and deliver student
records, To make the system more secure, Decrease time spent on non-value added
tasks.
Project Scope
Problem Definition
During the survey phase of our project, we needed to identify the key aspects of our
proposed application. Having done that, we now had the task of implementing them
using our own technical knowledge. In this section, we have discussed the major
problems we had faced during the design phase and how we solved them.
Identified Problems
Probable Solutions
1. The student and admin both will be responsible for creating a student account with
a unique registration name, Studentname and password. But validation will be
integrated with registration form. The Student will be given access to some specific
9
modules by the administrator from an available module list which will be generated
by the system. The module list and Student login details will be kept in the
database.
2. Valid Student of the system will log in using a valid Student-id and password. In our
case, the student and Admin will use their respective emailed as Student-id and
password. This will help the system to identify the Student and display only the
relevant information.
Planning
Project planning is a very important aspect of software engineering. It is undertaken by the project
managers and is completed even before any development activity starts. Project planning consists of
the following essential activities:
2) Project Estimates
a) Historical Data used
b) Estimation Techniques Used
c) Effort, Resource, Cost and Project Duration Estimates
3) Schedule
a) Work Breakdown Structure
b) Task Network Representation
c) Gantt Chart Representation
d) PERT Chart Representation
4) Project Resources
10
a) People
b) Hardware and Software
c) Special Resources
5) Staff Organization
a) Team Structure
b) Management Reporting
8) Miscellaneous Plans
a) Process Tailoring
b) Quality Assurance Plan
c) Configuration Management Plan
d) Validation and Verification
e) System Testing Plan
f) Delivery, Installation and Maintenance Plan
Requirement Specification
There are two types of requirement which are specified during the initial requirements gathering and
analysis phase. [1]
1. Functional Requirements
11
Functional Requirements
A system use case refers to specific Student interface components - such as screens,
HTML pages or reports. System use cases typically contain many built-in assumptions,
often hidden or implicit, about the underlying technology implementation and the
Student interface yet to be designed. Because they refer to Student interface
components which are worked on during design phase, inevitably design issues creep
into the use cases. This is not a good feature for functional requirement efforts
An essential use case, on the other hand, is based on the purpose or intentions of a
Student, rather than on the concrete steps or mechanisms by which the purpose or
intention might be carried out. An essential use case is complete, meaningful, and well
designed from the point-of-view of Students in some role or roles in relation to a
system and that embodies the purpose or intentions underlying the interaction.
Essential use cases are typically written in two column format, the column on the left
indicates the intention of the Student/actor and the column on the right the system's
responsibility to hopefully respond. The actor(s) will try to do something and receive
one or more responses to that action.
12
System boundary of the use case. All use cases must be within
the boundary and all actors and stakeholders should outside
of it.
✓ UC1 - Sign Up
Name: Sign up
Identifier: UC-1
Actor: Unregistered Student
Goal:
▪ Administration: Provides facilities to the students.
▪ Student: Wants to use the services after gaining access.
Preconditions:
System should be in running state and the server should be up.
Student intention:
1. Student clicks the “Sign Up” button for registration.
2. A new Registration age will appear to students.
3. This page will collect the information about the student
4. This page will collect the following information in the required fields
a. Stream
15
5. When student has entered all data now customer will click the button
“Continue”. (Alternate 1)
6. The page will be submitted and the Student information will be stored in
database.
(Alternate 2)
7. The Registered student will be redirected to Login Page.
• Alternate 2:
a. If there is any problem in the server then the information could not be
inserted in the database and a message will be displayed ”Problem
occurred. Please try again”.
Open Issues:
▪ Is there any unknown problem in Signing up?
▪ Is the server up?
16
✓ UC2 - Log In
Name: Log In
Identifier: UC-2
Actors: Registered Customer, Administrator
Goal:
▪ Administration: Provides services to the student.
▪ student Wants to use the services after gaining access.
Preconditions:
System has the login information of the Student in database.
Student intention:
1. Student or Admin visits website.
2. Enters “Registration Number” or “Student Name” and “Password”.
3. Clicks the “Login” button. (Alternate 1)
17
4. The system checks the “Registration Number” or ”Student Name” and “Password”
from the database and Logs the Student or admin in. (Alternate 2)
5. Now Student or Admin is Logged In and he/she can use all the services provided on
the website.
6. After using the services he/she signs out of the website by clicking the ‘Logout’
button.
Identifier: UC3
Actor: The Student
Goal:
▪ Student: Wants to view or change the profile information.
Preconditions:
a. System has registered the Student and contains the information of the Student
in the database.
b. System has logged the Student in.
2. The system loads the Attendance of the logged in Student and shows it on the
page.
3. Now Student can view his/her Payment information.
4. Student can update his password.
5. To update the Password, Student clicks on the “Change Password” and redirect
to the edit page.
6. The Student fills the required text fields and clicks the “Change” button at the
end of the page.
7. The System updates the Password in the database. (Alternate 1)
8. To view the holyday list of organization, Student click on Holyday list and a with
holyday table pops up.
System Responsibility (Alternative Flows):
• Alternate 1:
a. When Student makes a required field empty and clicks the “Change” button
then a message “Please fill the required field.” will be appeared.
• Alternate 2:
a. When customer clicks the “Previous Order History” or “View your order
history” link when he had made no purchases then show the message “No
previous Order”.
Special Requirements:
Preconditions:
a. System has the registered the administrator and contains administrator
information in the database.
b. System has logged the administrator in.
21
Special Requirements:
Administrator logged in until he signs out.
22
Non-Functional Requirements
Non-Functional Requirements are that type of requirements which are used to present
a systematic approach to “Building quality into” software systems. Non-Functional
Requirements are:
• Availability
• Efficiency
• Flexibility
• Integrity
• Performance
• Reliability
• Reusability
• Robustness
• Scalability
• Usability
Availability
A system's availability, or "uptime," is the amount of time that it is operational and
available for use. This is specified because some systems are designed with expected
downtime for activities like database upgrades and backups. Our system will be
accessible from any location, at any time, provided there is an active internet
connection available to the Student.
Efficiency
Efficiency specifies how well the software utilizes scarce resources: CPU cycles, disk
space, memory, bandwidth, etc. We have not used any type of resource hungry web
page development techniques. Our system will be able to run properly if the basic
system requirements are met. Anything less will hamper performance.
Flexibility
If the institution intends to increase or extend the functionality of the software after
it is deployed, it can be done easily. The deployment organization of our project makes
it very easy to add modules or functionalities.
23
Integrity
Integrity requirements define the security attributes of the system, restricting access
to features or data to certain Students and protecting the privacy of data entered into
the software. Our Online College Management System provides such facility to the
system administrator. He/she can restrict use access by authorizing only those people
who are essential for the institutional activities to run smoothly. Also, the students can
be restricted to specific modules of the system according to the menu wise access
given to them by the administrator.
Performance
The performance constraints specify the timing characteristics of the software. Certain
tasks or features are more time-sensitive than others; the nonfunctional requirements
should identify those software functions that have constraints on their performance.
Online College Management System does not impose any type of performance related
constraints as they were not stated by the students during the initial requirements
gathering and analysis phase.
Reliability
Reliability specifies the capability of the software to maintain its performance over
time. Unreliable software fails frequently, and certain tasks are more sensitive to
failure (for example, because they cannot be restarted, or because they must be run
at a certain time). Online Shopping Cart should be able to recover from system crashes
or incidents. Such measures can be implemented with help of backup servers and
other methods.
Reusability
Many systems are developed with the ability to leverage common components across
multiple products. Reusability indicates the extent to which software components
should be designed in such a way that they can be used in applications other than the
ones for which they were initially developed. Online Shopping Cart will not possess
any kind of external interfaces to work with other systems.
Robustness
A robust system is able to handle error conditions gracefully, without failure. This
includes a tolerance of invalid data, software defects, and unexpected operating
conditions. Online College Management System has been developed keeping this in
mind. Any kind of system error will not be displayed to the Student. The Student may
get a screen message like “Data not added due to database error”. In case of multiple
related transactions, the system will prevent the transactions from being saved in the
24
database if an error occurs during transaction processing and it stops the entire set of
transactions before completion.
Scalability
Software that is scalable has the ability to handle a wide variety of system
configuration sizes. Online College Management System does not impose any
restrictions on how many machine/PCs are added to the system. However, as the
number of Students grows with time, the server configurations may have to be
upgraded in order to retain good system throughput.
Usability
Ease-of-use requirements address the factors that constitute the capacity of the
software to be understood, learned, and used by its intended Students.
Online College Management System has a very well designed menu which is very easy
to navigate. The system will not have any sub-menu as such. The sub-menus will be
designed as separate web pages which will be invoked according to the menu options
selected by the Student.
A life-cycle model forms a common understanding of the activities among the software
engineers and helps develop in a systematic and disciplined manner. A well-
documented life cycle model helps in identifying inconsistencies, redundancies and
omissions in the development process. We have followed the Classical Waterfall
model.
25
Cost Estimation
The total cost of this project has been calculated by using the function oriented metric
– “Function Point Analysis”.
FPA is calculated on the basis of the following five information domain characteristics.
Weighting Factors
Information Domain Count Simple Average Complex Total
No. of Student Inputs 3 4 6
No. of Student Outputs 4 5 7
No. of Student Inquiries 3 4 6
No. of Logical Files 7 10 15
No. of External Interfaces 5 7 10
Count Total
FPA Weighting Factors
Student Inputs – Each Student input that provides application oriented data to the
software is counted.
Student Outputs – Each Student output that provides application oriented
information to the Student is counted. They primarily refer to reports.
Student Inquiries – An inquiry is an on-line input that generates some type of software
response in terms of on-line outputs.
Logical Files – Each logical master file is counted.
External interfaces – All machine readable information that are used to transmit
information to another system are counted.
The choice of weighting factor is subjective in nature as there is no particular formula
or method that can be applied to determine the factors.
The weighting factors of our project has been calculated based on the following
criteria –
• No. of Inputs
• No. of Logical Files referred
• No. of Search options
27
Student Inputs
Types Counts Weighting Factor Total
Simple Student Inputs 22 3 66
Average Student Inputs 15 4 60
Complex Student Inputs 5 6 30
TOTAL STUDENT INPUTS 156
FPA Student Input Calculation Matrix
Student Outputs
Types Counts Weighting Factor Total
Simple Student Outputs 33 4 132
Average Student Outputs 6 5 30
Complex Student Outputs 4 7 28
TOTAL STUDENT OUTPUTS 190
FPA Student Output Calculation Matrix
Student Inquiries
Types Counts Weighting Factor Total
Simple Student Inquiries 17 3 51
Average Student Inquiries 4 4 16
Complex Student Inquiries 2 6 12
TOTAL STUDENT INQUIRIES 79
FPA Student Inquiry Calculation Matrix
28
Logical Files
Types Counts Weighting Factor Total
Simple Logical Files 4 7 28
Average Logical Files 4 10 40
Complex Logical Files 4 15 60
TOTAL LOGICAL FILES 128
FPA Logical Files Calculation Matrix
External Interfaces
Types Counts Weighting Factor Total
Simple External Interfaces 0 5 0
Average External Interfaces 0 7 0
Complex External Interfaces 0 10 0
TOTAL EXTERNAL INTERFACES 0
FPA External Interface Calculation Matrix
The 14 questions and their probable answers are given below. (Our choice has been
highlighted)
1. Data Communication
2 Application is Batch but has remote data entry and remote Printing
4 More than a front-end, but the application supports only one type of transaction
processing communication protocol
5 More than a front-end, but the application supports more than one type of
transaction processing communication protocol
2. Distributed Function
0 Application does not aid the transfer of data or processing function between components of
the system
1 Application prepares data for end-Student processing on another component of the system
such as PC spread sheets and PC dbms etc.
2 Data is prepared for transfer, transferred, and processed on another component of the system
(not for end-Student processing)
3 Distributed processing and data transfer are on-line and in one directory only.
4 Distributed processing and data transfer are on-line and in both directions (client Server
Computing)
5 Processing functions are dynamically performed on the most appropriate component of the
system (True Client-Server Design)
3. Performance
1 No special performance requirements were stated by the Student
2 Performance and design requirements were stated and reviewed but no special actions were
required.
30
3 On-line response time is critical during peak hours. No special design for CPU utilization was
required. Processing deadline is for the next business day.
5 In addition, performance analysis tools were used in the design, development, and/or
implementation phases to meet the stated Student performance requirements.
Performance DI Matrix
5. Transaction Rates
0 No peak transaction period anticipated
1 Monthly peak transaction period anticipated
2 Weekly peak transaction period anticipated
3 Daily peak transaction period anticipated
4 High transaction rates stated by the Student in the application requirements or
service level agreements are high enough to require performance analysis tasks
at the design phase
5 In addition, require the use of performance analysis tools in the design,
development, and/or installation phase
Transaction Rate DI Matrix
31
8. On-Line Update
0 None
1 On-line Update of one to three control files. Volume of updating is low and
recovery is easy.
2 On-line update of four or more control files. Volume of updating is low and
recovery is easy.
3 On-line Update of major Internal Logical Files.
4 In addition, protection against data loss is essential and has been specially
designed and programmed in the system.
5 In addition, high volumes bring cost considerations into the recovery process.
Highly automated recovery procedures with minimum of operator/Student
intervention.
On-Line Update DI Matrix
9. Complex Processing
Complex processing is a characteristic of the application. Examples Are:
33
intervention is required.
* Effective startup, backup and recovery processes were provided but no operator
intervention is required (count as two items)
* The application minimizes the need for tape mounts/physical disk array/pack
mounting
or hooking-up
* The application minimizes the need for paper handling.
5 None of the above
Operational Ease DI Matrix
* Flexible query facility is provided that can handle query requests; for example,
and/or
logic applied to only one Internal Logical File (count as one point)
* Flexible query facility is provided that can handle query requests of average
complexity; for example and/or logic applied to more than one internal Logical
File (count as two point)
* Flexible query facility is provided that can handle complex query request; for
example
and/or logic combinations on more than one Internal Logical Files (count as three
point)
* Control data is kept in tables that are maintained by the Student with on-line
interactive
processes but changes take effect only on the next business day.
* Control data is kept in tables that are maintained by the Student with on-line
interactive processes and the changes take effect immediately (count as two
items)
Facilitate Change DI Matrix
1 Data Communications 3
2 Distributed Functions 0
3 Performance 1
4 Heavily Used Configuration 2
5 Transaction Rate 0
6 On-Line Data Entry 5
7 End Student Efficiency 2
8 On-line Update 3
9 Complex Processing 1
10 Reusability 0
11 Installation Ease 1
37
12 Operational Ease 1
13 Multiple Sites 0
14 Facilitate Change 4
Total Degree of Influence 23
Total Degree of Influence
Next, we need to calculate the Value Adjustment Factor (VAF) by using the following
formula –
VAF = 0.65 + (0.01 * DI)
= 0.65 + (0.01 * 23)
= 0.65 + 0.23
= 0.88
To compute the total no. of function points, we use the following formula
FP = UFP * VAF
= 553 * 0.88
= 487
The organizational average productivity for this type of project is 2 Man-Hours /FP.
Total Time Taken for Project = 487 * 2
= 974 Man-Hours
Total Cost = 974 * 100 // Assume Charge per Hour = Rs. 100/-
= 97400 INR
and Web Services in both native code together with managed code for all
platform supported by Microsoft windows.
2. MS WORD 2013: Microsoft Word is the flagship product of the Office suite, and
has been one of the cornerstones of Microsoft's success in both the home
software and business sectors. The first versions were developed in 1981 under
a different name, but the brand was born in 1983 when Microsoft produced the
Multi-Word Tool for Xenix, a Microsoft-developed operating system based on
UNIX.
Project Schedule
Gantt Chart
A Gantt chart is a type of bar chart that illustrates a project schedule. Gantt chart
shows the start and finish dates of a project along with the various sub-sections of the
project. [1]
Gantt chart
PERT Analysis
PERT (Project Evaluation and Review Technique) [1] analysis represents the statistical
variations in the project estimates by making pessimistic, expected and optimistic
estimates. We have used MS Project 2003 for this purpose. This tool performs PERT
analysis and generates three types of estimates such as Pessimistic Gantt, Expected
Gantt and Optimistic Gantt.
Pessimistic Gantt
Expected Gantt
Optimistic Gantt
Critical Path
The Critical Path is the series of tasks (or even a single task) that dictates the calculated
finish date of the project. That is, when the last task in the critical path is completed,
the project is completed.
By knowing and tracking the critical path for the project, as well as the resources
assigned to critical tasks, the project manager can determine which tasks can affect
the project's finish date and whether the project will finish on time.
The series of tasks are generally interrelated by task dependencies. Although there are
likely to be many such networks of tasks throughout the project plan, the network
finishing the latest is the project's critical path.
42
Network Diagram
Design
The design phase of software development includes creating Data Flow Diagrams,
Entity Relationship Diagrams and Algorithms for the project.
‘0’ level DFD, also called a context model, represents the entire software as a single
bubble with input and output data indicated by incoming and outgoing arrows,
respectively. Additional process and information flow paths are represented as the ‘0’
level DFD is partitioned into 1st and 2nd levels and so on to reveal more detail.
Process
A transformer of information (of n) that resides with
the bounds of the system to be modeled.
Data Flow The arrow head indicates the direction of data flow.
The data flow name indicates information acting as
input or output.
Student Login
Admin login
Student Sign Up
45
• One-to-One
• One-to-Many
46
• Many-to-Many
Basic Notations
Entities are the basic units used in modeling classes of concrete or
abstract objects. Entities can have concrete existence or
Entity constitute ideas or concepts. An entity type is a group of similar
object of concern to an organization for which it maintains data.
✓ Student – ERD
48
✓ Admin – ERD
49
T_ADMIN
T_ATTENDANCE
T_SemesterFees
T_Students
Proposed Algorithm
The following algorithms define the process logic of the various functionalities
provided by online game Store.
Login
1. Ask the Student to enter the Registration Number and the password.
2. If nothing is entered and log in tried, system gives validation message.
• Validation 1 – Registration Number is required
• Validation 2 – password is required
3. The Student enters the information.
4. Connect with the Student database and checks if the Student is present there or
not.
5. If present then go to 6. Otherwise give error and go to 1.
6. The Student is allowed to enter into the system.
7. The system checks the database gives the Student some pre-assigned privileges.
8. In Student Login a Unique Transaction id will be generated and stored in session.
Student Registration
1. Student related details like Name, Address, Email Id, Password, are entered into
the system.
2. System performs validation like:
• Validation 1 – Name Address City State should be string and should not be
empty.
• Validation 2 – Email should be Valid Email.
• Validation 3 - password should be entered.
51
3. After the system validates the data, it would get saved into the specified
Database.
Else, the system will not store the data into database and show validation message
Exam Scheduling
1. Faculty selects subject based on course.
2. Exam details like exam date, exam type are entered into the system.
3. The system performs some validations like if it is a elective paper or not. If so,
then has any student selected it or not etc.
4. Exam Details are saved into the Exam Database after validation.
Employee Registration
1. Employee details like name, address, date of birth etc. are entered into the system.
2. System performs some validations like:
• Validation 1.Data needs to be entered in all mandatory fields.
• Validation 2.Data of Birth not entered etc.
3. After validation, the data gets saved into the Employee database.
4. The Employee is allocated to a pay-scale according to his/her designation. Salary
details like DA, Special Allowance etc. are entered into the system.
5. After they are validated, the data gets saved into the employee salary database.
Testing
Testing is a phase that consists of subjecting the program to a set of test inputs (or
test cases) and observing if the program behaves as expected. The commonly used
terms associated with testing are as follows: [1]
• A failure is a manifestation of an error (or defect or bug).
• A test case is a triplet [I, S, O] where I am the data input to the system, S is the
state of the system at which the data is input and O is the expected output of the
system.
• A test suite is the set of all test cases with which a given software product is to be
tested.
Testing Principles
• Testing cannot show the absence of defects it shows only their presence.
• It is easier to detect but costlier to eliminate.
• The later an error is detected, it is costlier to debug.
• All tests should be traceable to custom requirements.
• Tests should be planned long before testing begins.
• Testing should begin in small and progress towards testing in large.
• Exhaustive testing is impossible.
Testing Objectives
Testing Characteristics
• Operability
• Controllability
• Decomposability
• Stability
• Understandability
Levels of Testing
Software products are normally tested first at the individual component (or unit)
level, known as testing in the small. After individual testing components are
integrated and tested. Finally fully integrated system is tested.
In Boundary value analysis approach, emphasis is given on the errors that frequently
occur at the boundaries of different equivalence classes of inputs.
White-box testing is involved directly with the structure of the code within a module
or structure code. Different types of white-box testing are as follows:
• Statement coverage: Each statement of the code within control structure is
executed at least once.
• Branch coverage: Each branch in the code assumes true or false value in turn thus
taken each possible direction at least once.
• Condition coverage: Here each test case is designed to make each component of
a composite conditional expression assume both true and false values. For
conditional expression having n components, 2nd test cases are required.
• Path coverage: In this strategy all linearly independent paths in the program are
executed at least once. For this we have to draw control flow graph (CFG).
Test Plan
Test plans document the test strategy. They describe what will be tested in the
system, but do not give detailed inputs and outputs. Test plans should answer such
issues as:
55
We have used “Black Box” testing as our testing mechanism. This is due to the time
constraints of our project. We have used executable code to test each feature of our
system.
Conclusion
This paper assists in automating the existing manual system. This is a paperless work.
It can be monitored and controlled remotely. It reduces the man power required. It
provides accurate information always. Malpractice can be reduced. All years together
gathered information can be saved and can be accessed at any time. The data which
is stored in the repository helps in taking intelligent decisions by the management.
So it is better to have a Web Based Information Management system. All the
stakeholders, faculty and management can get the required information without
delay. This system is essential in the colleges/hostels and universities.
References
1.Web Programming Using ASP.NET 1st Edition (12 Jan 2014) by Balram Krishan
2. SP.NET and VB.NET Web Programming 1st Edition by Matt J. Crouch
https://meeraacademy.com/student-management-system-project-asp-net/
https://www.kashipara.com/project/asp-net/125/college-management-system-asp-
net-source-code
https://codecanyon.net/search/college%20management
https://www.w3schools.com/
https://msdn.microsoft.com/en-
us/library/system.web.ui.webcontrols.changepassword(v=vs.110).aspx
https://www.c-sharpcorner.com/UploadFile/satyapriyanayak/change-a-password-in-
Asp-Net/
58
Default.aspx
Source
<%@ Page Title="Home Page" Language="C#" AutoEventWireup="true"
CodeBehind="Default.aspx.cs" Inherits="EnginX._Default" %>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<link rel='stylesheet' id='camera-css' href='assets/css/camera.css'
type='text/css' media='all'>
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
59
<div class="fluid_container">
<div class="camera_wrap camera_emboss pattern_1"
id="camera_wrap_4">
<div data-thumb="assets/images/slides/thumbs/img1.jpg" data-
src="assets/images/slides/img1.jpg">
<h2>We develop.</h2>
</div>
<div data-thumb="assets/images/slides/thumbs/img2.jpg" data-
src="assets/images/slides/img2.jpg">
</div>
<div data-thumb="assets/images/slides/thumbs/img3.jpg" data-
src="assets/images/slides/img3.jpg">
</div>
60
<div class="container">
<div class="row">
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/1.png"
alt="" />
</div><!--icon box top -->
<h4>Academics</h4>
<p>KIIT is unique among its peer
institutions in having nineteen schools co-located on one contiguous campus...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/2.png"
alt="" />
</div><!--icon box top -->
<h4>Meet our Staff</h4>
<p>More than 2500 academic and
research staff, many leaders in their fields with international reputations...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/3.png"
alt="" />
</div><!--icon box top -->
<h4>Campus Life</h4>
<p>Life at KIIT is more than just
lectures and study sessions. Students get a plenty of excuses to take a well-earned
...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
<div class="col-md-3">
<div class="grey-box-icon">
<div class="icon-box-top grey-box-
icon-pos">
<img src="assets/images/4.png"
alt="" />
</div><!--icon box top -->
<h4>Placements</h4>
<p>Placement is one of the advantages
that KIIT offers since its inception .It has an impeccable record in campus...</p>
<p><a href="#"><em>Read More →</em></a></p>
</div><!--grey box -->
</div><!--/span3-->
61
</div>
</div>
<section class="news-box top-margin">
<div class="container">
<h2><span>Latest News From KIIT</span></h2>
<div class="row">
<section class="container">
62
<div class="row">
<div class="col-md-8"><div class="title-box clearfix "><h2 class="title-
box_primary">About Us</h2></div>
<p><span>The IEM group is an acclaimed educational group amongst the industry-
centred academic training organisations of today.
IEM has set sublime standards in addressing the technical and managerial
resource shortage in the new era of dynamic globalisation.
The IEM group has risen to fame for its strong foundation in teaching and
R&D in multifaceted areas. It aims to serve the future
generation as well as the Nation through its commitment towards self
sufficiency and unmatchable excellence.</span></p>
<a href="#" title="read more" class="btn-inline " target="_self">Read more--
></a> </div>
<footer id="footer">
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
IEM Management Campus</a>
</li>
<li><a href="#">
63
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script src="assets/js/modernizr-latest.js"></script>
<script type='text/javascript' src='assets/js/jquery.min.js'></script>
<script type='text/javascript'
src='assets/js/fancybox/jquery.fancybox.pack.js'></script>
<script type='text/javascript'
src='assets/js/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='assets/js/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='assets/js/camera.min.js'></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
<script>
jQuery(function () {
jQuery('#camera_wrap_4').camera({
transPeriod: 500,
time: 3000,
height: '600',
loader: 'false',
pagination: true,
thumbnails: false,
hover: false,
playPause: false,
navigation: false,
opacityOnGrid: false,
imagePath: 'assets/images/'
});
});
</script>
65
</body>
</html>
Default.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class _Default : Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
Login.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
CodeBehind="Login.aspx.cs" Inherits="EnginX.Login" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
height: 61px;
66
}
.auto-style3 {
width: 191px;
}
.auto-style5 {
width: 100px;
height: 61px;
}
.auto-style6 {
width: 100%;
height: 376px;
}
.auto-style7 {
width: 100px;
height: 34px;
}
.auto-style8 {
width: 191px;
height: 34px;
}
.auto-style9 {
width: 462px;
height: 34px;
}
.auto-style10 {
height: 34px;
}
.auto-style11 {
width: 462px
}
.auto-style12 {
font-size: x-large;
}
.auto-style13 {
width: 100px;
height: 41px;
}
.auto-style14 {
width: 191px;
height: 41px;
}
.auto-style15 {
width: 462px;
height: 41px;
}
.auto-style16 {
height: 41px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</div>
</header>
<table class="auto-style6">
<tr>
67
<td class="auto-style5"></td>
<td class="auto-style2" colspan="2">EnginX<br />
<span style="color: rgb(110, 110, 110); font-family: Lato, sans-serif;
font-size: 14px; font-style: normal; font-variant-ligatures: normal; font-variant-
caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing:
0px; -webkit-text-stroke-width: 0px; background-color: rgb(255, 255, 255); text-
decoration-style: initial; text-decoration-color: initial; display: inline !important;
float: none;">Log in into your account to check your Academic
Achvievement.</span></td>
<td class="auto-style2"><span class="auto-style12">Not an
EnginXer?</span><br />
<asp:Button ID="Buttonrgnw" runat="server"
PostBackUrl="~/Registration.aspx" Text="Register Now!" OnClick="Buttonrgnw_Click"
CausesValidation="False" />
</td>
</tr>
<tr>
<td class="auto-style13"></td>
<td class="auto-style14">Registration Number:</td>
<td class="auto-style15">
<asp:TextBox ID="TextBoxrgnmbr" runat="server"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidatorrgnmbr"
runat="server" ControlToValidate="TextBoxrgnmbr" ErrorMessage="Registration Number Is
Required" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style16"> </td>
</tr>
<tr>
<td class="auto-style7"></td>
<td class="auto-style8">Password:</td>
<td class="auto-style9">
<asp:TextBox ID="TextBoxpswrd" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidatorpas"
runat="server" ControlToValidate="TextBoxpswrd" ErrorMessage="Please input Password"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style10"><span class="auto-style12">EnginX
Admin?</span><br />
<asp:Button ID="Buttonadminlgin" runat="server" Text="Log In"
OnClick="Buttonadminlgin_Click" PostBackUrl="~/Admin_Login.aspx"
CausesValidation="False" />
</td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style3">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT * FROM
[studenttable]"></asp:SqlDataSource>
</td>
<td class="auto-style11">
<asp:Button ID="Buttonlgin" runat="server" Text="Log In"
OnClick="Buttonlgin_Click" />
</td>
<td> </td>
</tr>
<tr>
68
<td class="auto-style1"> </td>
<td class="auto-style3"> </td>
<td class="auto-style11"> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style3"> </td>
<td class="auto-style11"> </td>
<td> </td>
</tr>
</table>
</asp:Content>
Login.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
namespace EnginX
{
public partial class Login : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
Session["reg_nmbr"] = TextBoxrgnmbr.Text;
Response.Redirect("studentinterface.aspx");
}
else
{
Response.Redirect("~/Default.aspx");
}
con.Close();
}
69
studentinterface.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="studentinterface.aspx.cs" Inherits="EnginX.studentinterface1" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 15px;
}
.auto-style2 {
width: 100px;
}
.auto-style3 {
width: 100px;
height: 16px;
}
.auto-style8 {
height: 20px;
width: 175px;
}
.auto-style9 {
height: 21px;
70
width: 175px;
}
.auto-style10 {
height: 22px;
width: 175px;
}
.auto-style11 {
height: 23px;
width: 8px;
}
.auto-style12 {
height: 24px;
}
.auto-style13 {
height: 25px;
width: 66px;
}
.auto-style14 {
height: 26px;
width: 13px;
}
.auto-style15 {
height: 18px;
width: 66px;
}
.auto-style16 {
height: 17px;
}
.auto-style17 {
height: 16px;
}
.auto-style18 {
height: 16px;
width: 66px;
}
.auto-style19 {
height: 16px;
width: 2px;
}
.auto-style20 {
width: 2px;
}
.auto-style21 {
height: 16px;
width: 175px;
}
.auto-style22 {
height: 16px;
width: 9px;
}
.auto-style23 {
width: 9px;
}
.auto-style24 {
height: 16px;
width: 13px;
}
.auto-style25 {
height: 16px;
width: 8px;
}
</style>
71
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<table style="width:101%;">
<tr>
<td class="auto-style3"></td>
<td class="auto-style21"></td>
<td class="auto-style19"></td>
<td class="auto-style18"></td>
<td class="auto-style22"></td>
<td class="auto-style24"></td>
<td class="auto-style25"></td>
<td class="auto-style17"></td>
<td class="auto-style17"></td>
<td class="auto-style17"></td>
<td class="auto-style17"></td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style9"> </td>
<td class="auto-style20"> </td>
<td class="auto-style1" colspan="4">
<h2><asp:Label ID="Labelhello" runat="server" Text="Label"
Width="180px"></asp:Label></h2>
</td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td></td>
<td class="auto-style12"></td>
<td></td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8">
<asp:LinkButton ID="LinkButtonchngpass" runat="server"
PostBackUrl="~/stdchngpass.aspx" OnClick="LinkButtonchngpass_Click">1. Change
Password</asp:LinkButton>
</td>
<td class="auto-style20"> </td>
<td class="auto-style13">Day</td>
<td class="auto-style23">1st</td>
<td class="auto-style14">2nd</td>
<td class="auto-style11">3rd</td>
<td class="auto-style12">4th</td>
<td>5th</td>
<td>6th</td>
<td>7th</td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
72
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"></td>
<td class="auto-style10">
<asp:LinkButton ID="LinkButton2" runat="server"
PostBackUrl="~/holydays.aspx" OnClick="LinkButton2_Click">2.Holyday
list</asp:LinkButton>
</td>
<td class="auto-style20"> </td>
<td class="auto-style15">Monday</td>
<td class="auto-style16" colspan="4" rowspan="2">Digital Communication LAB
(Grp A) / CN II LAB<br />
<asp:LinkButton ID="LinkButton1" runat="server">GG
sir</asp:LinkButton>
</td>
<td class="auto-style16"></td>
<td class="auto-style16"></td>
<td class="auto-style16"> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style10"> </td>
<td class="auto-style20"> </td>
<td class="auto-style15"> </td>
<td class="auto-style16"> </td>
<td class="auto-style16"> </td>
<td class="auto-style16"> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8">
<asp:LinkButton ID="LinkButtonsemfee" runat="server"
OnClick="LinkButtonsemfee_Click" PostBackUrl="~/payment.aspx">3. Pay Semester
Fees</asp:LinkButton>
</td>
<td class="auto-style20"> </td>
<td class="auto-style13">thuesday</td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td></td>
<td></td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
73
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8">
<asp:LinkButton ID="LinkButtonatt" runat="server"
OnClick="LinkButtonatt_Click"
PostBackUrl="~/Attenance.aspx">4.Attendance</asp:LinkButton>
</td>
<td class="auto-style20"> </td>
<td class="auto-style13">Wednesday</td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td></td>
<td></td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13">Thursday</td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td></td>
<td></td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
74
<td class="auto-style13">Friday</td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13">Saturday</td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"></td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
75
<td class="auto-style2"> </td>
<td class="auto-style8"> </td>
<td class="auto-style20"> </td>
<td class="auto-style13"> </td>
<td class="auto-style23"> </td>
<td class="auto-style14"> </td>
<td class="auto-style11"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
studentinterface.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class studentinterface1 : System.Web.UI.Page
{
{
Response.Redirect("payment.aspx");
}
stdchngpass.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="stdchngpass.aspx.cs" Inherits="EnginX.Change_Password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 200px;
}
.auto-style3 {
width: 100px;
height: 24px;
}
.auto-style4 {
width: 200px;
height: 24px;
}
.auto-style5 {
height: 24px;
}
.auto-style6 {
width: 100px;
77
height: 29px;
}
.auto-style7 {
width: 200px;
height: 29px;
}
.auto-style8 {
height: 29px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Confirm New Password</td>
<td>
<asp:TextBox ID="TextBoxcnwpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ControlToValidate="TextBoxcnwpass" ErrorMessage="Retype your New
Paasword" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style6"></td>
<td class="auto-style7"></td>
<td class="auto-style8">
<asp:Button ID="Buttonchngpass" runat="server"
OnClick="Buttonchngpass_Click" Text="Change" />
<asp:Label ID="Labelchngpass" runat="server"></asp:Label>
</td>
<td class="auto-style8"></td>
<td class="auto-style8"></td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT * FROM
[studenttable]">
</asp:SqlDataSource>
</td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
stdchngpass.aspx.cs
using System;
79
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace EnginX
{
public partial class Change_Password : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}
}
else
{
Labelchngpass.Text = "Please check the password once again!";
Labelchngpass.ForeColor = System.Drawing.Color.Red;
}
}
}
}
}
80
payment.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="payment.aspx.cs" Inherits="EnginX.payment" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
height: 20px;
}
.auto-style2 {
height: 20px;
width: 100px;
}
.auto-style3 {
width: 100px;
}
.auto-style8 {
height: 20px;
width: 233px;
}
.auto-style9 {
width: 233px;
}
.auto-style11 {
height: 20px;
width: 12px;
}
.auto-style12 {
width: 12px;
}
.auto-style14 {
height: 23px;
81
}
.auto-style15 {
width: 127px;
}
.auto-style16 {
height: 23px;
width: 127px;
}
.auto-style17 {
height: 18px;
width: 100px;
}
.auto-style18 {
height: 18px;
}
.auto-style19 {
width: 100px;
height: 24px;
}
.auto-style20 {
width: 233px;
height: 24px;
}
.auto-style21 {
width: 12px;
height: 24px;
}
.auto-style22 {
height: 24px;
}
.auto-style23 {
width: 100px;
height: 29px;
}
.auto-style24 {
width: 233px;
height: 29px;
}
.auto-style25 {
width: 12px;
height: 29px;
}
.auto-style26 {
height: 29px;
}
.auto-style29 {
width: 100px;
height: 25px;
}
.auto-style30 {
width: 233px;
height: 25px;
}
.auto-style31 {
width: 12px;
height: 25px;
}
.auto-style32 {
height: 25px;
}
.auto-style33 {
width: 100px;
82
height: 27px;
}
.auto-style34 {
height: 27px;
}
.auto-style35 {
width: 56%
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</div>
</header>
<td class="auto-style16">6th</td>
<td class="auto-style14">14500/-</td>
</tr>
<tr>
<td class="auto-style15"> </td>
<td> </td>
</tr>
</table>
</td>
<td class="auto-style34"></td>
<td class="auto-style34"> </td>
</tr>
<tr>
<td class="auto-style17"></td>
<td class="auto-style18" colspan="2">
<asp:DropDownList ID="DropDownList1" runat="server"
AutoPostBack="True">
<asp:ListItem>Select Semester</asp:ListItem>
<asp:ListItem>1st Sem</asp:ListItem>
<asp:ListItem>2nd Sem</asp:ListItem>
<asp:ListItem>3rd Sem</asp:ListItem>
<asp:ListItem>4th Sem</asp:ListItem>
<asp:ListItem>5th Sem</asp:ListItem>
<asp:ListItem>6th Sem</asp:ListItem>
</asp:DropDownList>
<asp:Label ID="Label1" runat="server" Text="Label"></asp:Label>
</td>
<td class="auto-style18"></td>
<td class="auto-style18"> </td>
</tr>
<tr>
<td class="auto-style3"></td>
<td class="auto-style9">Registration Number<br />
<asp:TextBox ID="TextBoxrgnmbr" runat="server"
Width="180px"></asp:TextBox>
</td>
<td class="auto-style12"></td>
<td></td>
<td> </td>
</tr>
<tr>
<td class="auto-style19"></td>
<td class="auto-style20">Step 2: Select Payment Method</td>
<td class="auto-style21"></td>
<td class="auto-style22"></td>
<td class="auto-style22"> </td>
</tr>
<tr>
<td class="auto-style23"></td>
<td class="auto-style24">
<asp:DropDownList ID="DropDownList2" runat="server"
AutoPostBack="True">
<asp:ListItem>Select</asp:ListItem>
<asp:ListItem>Cash</asp:ListItem>
<asp:ListItem>Debit Card</asp:ListItem>
<asp:ListItem>Credit Card</asp:ListItem>
<asp:ListItem>NEFT</asp:ListItem>
</asp:DropDownList>
</td>
<td class="auto-style25"></td>
<td class="auto-style26"></td>
<td class="auto-style26"> </td>
84
</tr>
<tr>
<td class="auto-style3"> </td>
<td class="auto-style9">
<asp:Button ID="Buttonpay" runat="server" OnClick="Buttonpay_Click"
Text="Pay Now!" />
<asp:Label ID="Labelpay" runat="server"></asp:Label>
</td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style3"> </td>
<td class="auto-style9"> </td>
<td class="auto-style12"> </td>
<td>
<asp:GridView ID="GridView1" runat="server"
AutoGenerateColumns="False" DataSourceID="SqlDataSource1" BackColor="White"
BorderColor="#CC9966" BorderStyle="None" BorderWidth="1px" CellPadding="4">
<Columns>
<asp:BoundField DataField="reg_nmbr" HeaderText="Registration
Number" SortExpression="reg_nmbr" >
<HeaderStyle Width="100px" />
</asp:BoundField>
<asp:BoundField DataField="semester" HeaderText="Semester"
SortExpression="semester" >
<HeaderStyle Width="80px" />
</asp:BoundField>
<asp:BoundField DataField="method" HeaderText="Method"
SortExpression="method" >
<HeaderStyle Width="80px" />
</asp:BoundField>
</Columns>
<FooterStyle BackColor="#FFFFCC" ForeColor="#330099" />
<HeaderStyle BackColor="#990000" Font-Bold="True"
ForeColor="#FFFFCC" />
<PagerStyle BackColor="#FFFFCC" ForeColor="#330099"
HorizontalAlign="Center" />
<RowStyle BackColor="White" ForeColor="#330099" />
<SelectedRowStyle BackColor="#FFCC66" Font-Bold="True"
ForeColor="#663399" />
<SortedAscendingCellStyle BackColor="#FEFCEB" />
<SortedAscendingHeaderStyle BackColor="#AF0101" />
<SortedDescendingCellStyle BackColor="#F6F0C0" />
<SortedDescendingHeaderStyle BackColor="#7E0000" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT [reg_nmbr],
[semester], [method] FROM [semfeetable] WHERE ([reg_nmbr] = @reg_nmbr)">
<SelectParameters>
<asp:SessionParameter Name="reg_nmbr" SessionField="reg_nmbr"
Type="String" />
</SelectParameters>
</asp:SqlDataSource>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
85
<td class="auto-style8"> </td>
<td class="auto-style11"></td>
<td class="auto-style1"></td>
<td class="auto-style1"> </td>
<td class="auto-style1"> </td>
</tr>
<tr>
<td class="auto-style3"> </td>
<td class="auto-style9"> </td>
<td class="auto-style12"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
payment.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;
namespace EnginX
{
public partial class payment : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}
{
Labelpay.Text = "Error, Try again!!";
}
}
}
}
Paymentcomplete.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site2.Master" AutoEventWireup="true"
CodeBehind="Paymentcomplete.aspx.cs" Inherits="EnginX.Paymentcomplete" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</div>
</header>
<td>
<asp:Label ID="Labelpaycom" runat="server"
ForeColor="#66FF66"></asp:Label>
</td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
Paymentcomplete.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class Paymentcomplete : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
}
holydays.aspx
Source
89
</div>
</header>
holydays.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class holydays : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["reg_nmbr"] == null)
{
Response.Redirect("~/Login.aspx");
}
96
}
}
}
Attenance.aspx
Source
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Attenance.aspx.cs"
Inherits="EnginX.Attenance" %>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<link rel='stylesheet' id='camera-css' href='assets/css/camera.css'
type='text/css' media='all'>
97
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
<style type="text/css">
.auto-style1 {
width: 101px;
}
.auto-style2 {
width: 101px;
height: 20px;
}
.auto-style3 {}
.auto-style4 {
width: 593px
}
</style>
</head>
<body>
<form id="form1" runat="server">
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="index.html">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li><a href="Login.aspx">Log Out</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->
98
</body>
</html>
Attenance.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class Attenance : System.Web.UI.Page
{
}
}
}
Registration.aspx
100
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true"
CodeBehind="Registration.aspx.cs" Inherits="EnginX.Registration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
}
.auto-style3 {
font-size: xx-large;
}
.auto-style4 {
font-size: medium;
}
.auto-style5 {
width: 226px;
}
.auto-style7 {
width: 281px;
}
.auto-style8 {
width: 281px;
font-size: x-large;
}
.auto-style9 {
width: 99px;
}
.auto-style10 {
width: 283px
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Registration Number</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxregnmbr" runat="server"
Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorrgnmbr"
runat="server" ControlToValidate="TextBoxregnmbr" ErrorMessage="*Registraion Number is
Required" ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Name:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxname" runat="server" Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatornm" runat="server"
ControlToValidate="TextBoxname" ErrorMessage="*Name is Required"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Student Name:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxuname" runat="server" Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorunm" runat="server"
ControlToValidate="TextBoxuname" ErrorMessage="*Student Name is Required"
ForeColor="Red"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Phone Number:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxphnmbr" runat="server"
Width="180px"></asp:TextBox>
103
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorph" runat="server"
ControlToValidate="TextBoxphnmbr" ErrorMessage="*Phone No is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Email Id:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxmailid" runat="server" Width="180px"
TextMode="Email"></asp:TextBox>
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatoremail"
runat="server" ControlToValidate="TextBoxmailid" ErrorMessage="*Email Id is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Password</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxpass" runat="server" TextMode="Password"
Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorpas" runat="server"
ControlToValidate="TextBoxpass" ErrorMessage="*Password is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5">Confirm Password:</td>
<td class="auto-style10">
<asp:TextBox ID="TextBoxcpass" runat="server" TextMode="Password"
Width="180px"></asp:TextBox>
*</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
104
<td class="auto-style5"> </td>
<td class="auto-style10">
<asp:RequiredFieldValidator ID="RequiredFieldValidatorcpas" runat="server"
ControlToValidate="TextBoxcpass" ErrorMessage="*Confirm your
Password"></asp:RequiredFieldValidator>
<br />
<asp:CompareValidator ID="CompareValidatorcpas" runat="server"
ControlToCompare="TextBoxpass" ControlToValidate="TextBoxcpass"
ErrorMessage="*Password didn't match" ForeColor="#FF3300"></asp:CompareValidator>
</td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9">
</td>
<td class="auto-style5">
<asp:Label ID="Label1" runat="server"></asp:Label>
</td>
<td class="auto-style10">
<asp:Button ID="Buttonsubmit" runat="server" OnClick="Buttonsubmit_Click1"
Text="Sign Up" />
<input id="Reset1" type="reset" value="Reset" /></td>
<td class="auto-style7"> </td>
</tr>
<tr>
<td class="auto-style9"> </td>
<td class="auto-style5"> </td>
<td class="auto-style10"> </td>
<td class="auto-style7"> </td>
</tr>
</table>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:student %>" DeleteCommand="DELETE FROM [studenttable] WHERE [stsId]
= @stsId" InsertCommand="INSERT INTO [studenttable] ([reg_nmbr], [stream], [name],
[u_name], [ph_nmbr], [mail_id], [password]) VALUES (@reg_nmbr, @stream, @name,
@u_name, @ph_nmbr, @mail_id, @password)" SelectCommand="SELECT * FROM [studenttable]"
UpdateCommand="UPDATE [studenttable] SET [reg_nmbr] = @reg_nmbr, [stream] = @stream,
[name] = @name, [u_name] = @u_name, [ph_nmbr] = @ph_nmbr, [mail_id] = @mail_id,
[password] = @password WHERE [stsId] = @stsId">
<DeleteParameters>
<asp:Parameter Name="stsId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
<asp:Parameter Name="stsId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
105
</asp:Content>
Registration.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
namespace EnginX
{
public partial class Registration : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
cmd.Parameters.AddWithValue("@stream",DropDownListstrm.SelectedItem.Value);
cmd.Parameters.AddWithValue("@name",TextBoxname.Text);
cmd.Parameters.AddWithValue("@u_name",TextBoxuname.Text);
cmd.Parameters.AddWithValue("@ph_nmbr",TextBoxphnmbr.Text);
cmd.Parameters.AddWithValue("@mail_id",TextBoxmailid.Text);
cmd.Parameters.AddWithValue("@password",TextBoxpass.Text);
if (cmd.ExecuteNonQuery() == 1)
{
Response.Redirect("~/Login.aspx");
}
else
{
Label1.Text = "Try Again!!";
Label1.ForeColor = System.Drawing.Color.Red;
}
con.Close();
}
protected void Buttonlgin_Click(object sender, EventArgs e)
{
Response.Redirect("~/Login.aspx");
106
}
}
Admin_Login.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Add.aspx.cs" Inherits="EnginX.Admin.Add__Admin" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 180px;
}
.auto-style3 {
width: 290px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
</tr>
<tr>
<td class="auto-style1">
</td>
<td class="auto-style2">Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadname" runat="server"
Width="180px"></asp:TextBox>
</td>
<td>
<asp:LinkButton ID="LinkButtonadhm0" runat="server"
PostBackUrl="~/Admin_Operations.aspx" OnClick="LinkButtonadhm0_Click">Admin
Home</asp:LinkButton>
</td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Student Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxaduname" runat="server"
Width="180px"></asp:TextBox>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Phone Number:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxaddph" runat="server"
Width="180px"></asp:TextBox>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Mail Id:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadmail" runat="server"
Width="180px"></asp:TextBox>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadpass" runat="server"
Width="180px"></asp:TextBox>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Confirm Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadcpass" runat="server"
Width="180px"></asp:TextBox>
108
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3">
<asp:Label ID="Labeladadmin" runat="server"></asp:Label>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[admintable] WHERE [aId] = @aId" InsertCommand="INSERT INTO [admintable] ([ad_name],
[ad_uname], [ad_ph], [ad_mail], [ad_pass]) VALUES (@ad_name, @ad_uname, @ad_ph,
@ad_mail, @ad_pass)" SelectCommand="SELECT * FROM [admintable]" UpdateCommand="UPDATE
[admintable] SET [ad_name] = @ad_name, [ad_uname] = @ad_uname, [ad_ph] = @ad_ph,
[ad_mail] = @ad_mail, [ad_pass] = @ad_pass WHERE [aId] = @aId">
<DeleteParameters>
<asp:Parameter Name="aId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
<asp:Parameter Name="aId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style3">
<asp:Button ID="Buttonsbmitadmin" runat="server"
OnClick="Buttonsbmitadmin_Click" Text="Submit" />
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</form>
</asp:Content>
109
Admin_Login.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
namespace EnginX.Admin
{
public partial class Add__Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (cmd.ExecuteNonQuery() == 1)
{
Admin_Operations.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Operations.aspx.cs" Inherits="EnginX.Admin.Operations" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style3 {
width: 479px;
}
.auto-style4 {
width: 422px;
}
.auto-style5 {
width: 439px;
}
.auto-style6 {
width: 222px;
}
.auto-style10 {
width: 100px;
height: 9px;
}
.auto-style11 {
width: 222px;
height: 9px;
111
}
.auto-style12 {
height: 9px;
}
.auto-style13 {
width: 100px;
height: 2px;
}
.auto-style14 {
width: 222px;
height: 2px;
}
.auto-style15 {
height: 2px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<header id="head" class="secondary">
<div class="container">
<h1>Welcome
<asp:Label ID="Labelwlad" runat="server"></asp:Label>
</h1>
</div>
</header>
<br />
<table style="width:100%;">
<tr>
<td class="auto-style1"> </td>
<td class="auto-style5"> </td>
<td class="auto-style4"> </td>
<td class="auto-style3">
<asp:LinkButton ID="LinkButton2" runat="server"
OnClick="LinkButton2_Click" PostBackUrl="~/Admin_Operations.aspx">Admin
Home</asp:LinkButton>
</td>
<td class="auto-style6"> </td>
<td>
<asp:LinkButton ID="LinkButtonaddadmin" runat="server"
PostBackUrl="~/Admin_Add.aspx" OnClick="LinkButtonaddadmin_Click">Add a new
Admin</asp:LinkButton>
</td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style5">
<asp:LinkButton ID="LinkButtonstdreg" runat="server"
OnClick="LinkButtonstdreg_Click" PostBackUrl="~/Registration.aspx">Student
Registration</asp:LinkButton>
</td>
<td class="auto-style4"> </td>
<td class="auto-style3"> </td>
<td class="auto-style6"> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style5"> </td>
<td class="auto-style4"> </td>
<td class="auto-style3"> </td>
<td class="auto-style6"> </td>
<td>
112
<td class="auto-style6"> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style5"> </td>
<td class="auto-style4"> </td>
<td class="auto-style3"> </td>
<td class="auto-style6"> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style5"> </td>
<td class="auto-style4"> </td>
<td class="auto-style3"> </td>
<td class="auto-style6"> </td>
<td> </td>
</tr>
</table>
</asp:Content>
Admin_Operations.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX.Admin
{
public partial class Operations : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin_Login.aspx");
}
}
Response.Redirect("~/Admin_ChangePass.aspx");
}
}
}
Admin_Add.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Add.aspx.cs" Inherits="EnginX.Admin.Add__Admin" %>
116
<table style="width:100%;">
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1">
</td>
<td class="auto-style2">Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadname" runat="server"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBoxadname" ErrorMessage="This field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>
<asp:LinkButton ID="LinkButtonadhm0" runat="server"
PostBackUrl="~/Admin_Operations.aspx" OnClick="LinkButtonadhm0_Click">Admin
Home</asp:LinkButton>
</td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Student Name:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxaduname" runat="server"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TextBoxaduname" ErrorMessage="This Field is
Required" ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Phone Number:</td>
117
<td class="auto-style3">
<asp:TextBox ID="TextBoxaddph" runat="server" Width="180px"
TextMode="Phone"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ControlToValidate="TextBoxaddph" ErrorMessage="This Field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Mail Id:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadmail" runat="server" Width="180px"
TextMode="Email"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
runat="server" ControlToValidate="TextBoxadmail" ErrorMessage="This Field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5"
runat="server" ControlToValidate="TextBoxadpass" ErrorMessage="This Field is Required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Confirm Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxadcpass" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6"
runat="server" ControlToValidate="TextBoxadcpass" ErrorMessage="This Field is
Required" ForeColor="#FF3300"></asp:RequiredFieldValidator>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="TextBoxadpass" ControlToValidate="TextBoxadcpass"
ErrorMessage="Password didn't match" ForeColor="#FF3300"></asp:CompareValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3">
<asp:Label ID="Labeladadmin" runat="server"></asp:Label>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
118
<td class="auto-style1"> </td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[admintable] WHERE [aId] = @aId" InsertCommand="INSERT INTO [admintable] ([ad_name],
[ad_uname], [ad_ph], [ad_mail], [ad_pass]) VALUES (@ad_name, @ad_uname, @ad_ph,
@ad_mail, @ad_pass)" SelectCommand="SELECT * FROM [admintable]" UpdateCommand="UPDATE
[admintable] SET [ad_name] = @ad_name, [ad_uname] = @ad_uname, [ad_ph] = @ad_ph,
[ad_mail] = @ad_mail, [ad_pass] = @ad_pass WHERE [aId] = @aId">
<DeleteParameters>
<asp:Parameter Name="aId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="ad_name" Type="String" />
<asp:Parameter Name="ad_uname" Type="String" />
<asp:Parameter Name="ad_ph" Type="String" />
<asp:Parameter Name="ad_mail" Type="String" />
<asp:Parameter Name="ad_pass" Type="String" />
<asp:Parameter Name="aId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style3">
<asp:Button ID="Buttonsbmitadmin" runat="server"
OnClick="Buttonsbmitadmin_Click" Text="Submit" />
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
Admin_Add.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Configuration;
using System.Data.SqlClient;
namespace EnginX.Admin
119
{
public partial class Add__Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (cmd.ExecuteNonQuery() == 1)
{
Admin_ChangePass.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_ChangePass.aspx.cs" Inherits="EnginX.Admin.Change_Password" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 100px;
}
.auto-style2 {
width: 198px;
}
121
.auto-style3 {
width: 363px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">Confirm New Password:</td>
<td class="auto-style3">
<asp:TextBox ID="TextBoxcnpas" runat="server" Width="180px"
TextMode="Password"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ErrorMessage="Retype New Password" ForeColor="#FF3300"
ControlToValidate="TextBoxcnpas"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" SelectCommand="SELECT * FROM
[admintable]"></asp:SqlDataSource>
</td>
<td class="auto-style3">
<asp:Button ID="Buttonchngpas" runat="server"
OnClick="Buttonchngpas_Click" Text="Change" />
<asp:Label ID="Labeladpas" runat="server"></asp:Label>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style1"> </td>
<td class="auto-style2"> </td>
<td class="auto-style3"> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
Admin_ChangePass.aspx.cs
using System;
using System.Collections.Generic;
123
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace EnginX.Admin
{
public partial class Change_Password : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
else
{
Labeladpas.Text = "Please check the password once again!";
Labeladpas.ForeColor = System.Drawing.Color.Red;
}
}
}
Admin_SUD.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_SUD.aspx.cs" Inherits="EnginX.Admin.SUD" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
height: 20px;
}
.auto-style2 {
125
width: 100px;
}
.auto-style3 {
height: 20px;
width: 100px;
}
.auto-style4 {
width: 78px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<td class="auto-style3"></td>
<td class="auto-style1" colspan="2">
<asp:GridView ID="GridViewsrchres" runat="server"
AutoGenerateColumns="False" CellPadding="4" DataKeyNames="stsId"
DataSourceID="SqlDataSource1" EmptyDataText="No records found." ForeColor="#333333"
GridLines="None" Visible="False">
<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
<Columns>
<asp:CommandField ShowDeleteButton="True"
ShowEditButton="True" />
<asp:BoundField DataField="stsId" HeaderText="stsId"
InsertVisible="False" ReadOnly="True" SortExpression="stsId" />
<asp:BoundField DataField="reg_nmbr" HeaderText="Registration
Number" SortExpression="reg_nmbr" />
<asp:BoundField DataField="stream" HeaderText="Stream"
SortExpression="stream" />
<asp:BoundField DataField="name" HeaderText="Name"
SortExpression="name" />
<asp:BoundField DataField="u_name" HeaderText="Student Name"
SortExpression="u_name" />
<asp:BoundField DataField="ph_nmbr" HeaderText="Phone Number"
SortExpression="ph_nmbr" />
<asp:BoundField DataField="mail_id" HeaderText="Mail Id"
SortExpression="mail_id" />
<asp:BoundField DataField="password" HeaderText="Password"
SortExpression="password" />
</Columns>
<EditRowStyle BackColor="#999999" />
<FooterStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<HeaderStyle BackColor="#5D7B9D" Font-Bold="True"
ForeColor="White" />
<PagerStyle BackColor="#284775" ForeColor="White"
HorizontalAlign="Center" />
<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True"
ForeColor="#333333" />
<SortedAscendingCellStyle BackColor="#E9E7E2" />
<SortedAscendingHeaderStyle BackColor="#506C8C" />
<SortedDescendingCellStyle BackColor="#FFFDF8" />
<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
</asp:GridView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[studenttable] WHERE [stsId] = @stsId" InsertCommand="INSERT INTO [studenttable]
([reg_nmbr], [stream], [name], [u_name], [ph_nmbr], [mail_id], [password]) VALUES
(@reg_nmbr, @stream, @name, @u_name, @ph_nmbr, @mail_id, @password)"
SelectCommand="SELECT * FROM [studenttable] WHERE ([name] LIKE '%' + @name + '%')"
UpdateCommand="UPDATE [studenttable] SET [reg_nmbr] = @reg_nmbr, [stream] = @stream,
[name] = @name, [u_name] = @u_name, [ph_nmbr] = @ph_nmbr, [mail_id] = @mail_id,
[password] = @password WHERE [stsId] = @stsId">
<DeleteParameters>
<asp:Parameter Name="stsId" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
127
</InsertParameters>
<SelectParameters>
<asp:ControlParameter ControlID="TextBox1" Name="name"
PropertyName="Text" Type="String" />
</SelectParameters>
<UpdateParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter Name="stream" Type="String" />
<asp:Parameter Name="name" Type="String" />
<asp:Parameter Name="u_name" Type="String" />
<asp:Parameter Name="ph_nmbr" Type="String" />
<asp:Parameter Name="mail_id" Type="String" />
<asp:Parameter Name="password" Type="String" />
<asp:Parameter Name="stsId" Type="Int32" />
</UpdateParameters>
</asp:SqlDataSource>
</td>
<td class="auto-style1"></td>
<td class="auto-style1"></td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style4"> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</table>
</asp:Content>
Admin_SUD.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace EnginX.Admin
{
public partial class SUD : System.Web.UI.Page
{
protected void Page_Init(object sender, EventArgs e)
{
if (Session["ad_uname"] == null)
{
Response.Redirect("~/Admin/Admin_Login.aspx");
}
}
Admin_Attendance.aspx
Source
<%@ Page Title="" Language="C#" MasterPageFile="~/admin.Master" AutoEventWireup="true"
CodeBehind="Admin_Attendance.aspx.cs" Inherits="EnginX.Admin.Attendance" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<style type="text/css">
.auto-style1 {
width: 179px;
}
.auto-style2 {
width: 100px;
}
.auto-style3 {
width: 100px;
height: 23px;
}
.auto-style4 {
width: 179px;
height: 23px;
}
.auto-style5 {
height: 23px;
}
.auto-style6 {
width: 377px;
129
}
.auto-style7 {
height: 23px;
width: 377px;
}
</style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<p>
<table style="width:100%;">
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">Registration Number:</td>
<td class="auto-style6">
<asp:TextBox ID="TextBox1" runat="server"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1"
runat="server" ControlToValidate="TextBox1" ErrorMessage="Input Registration Number"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td>
<asp:LinkButton ID="LinkButtonadhm" runat="server"
PostBackUrl="~/Admin_Operations.aspx" OnClick="LinkButtonadhm_Click">Admin
Home</asp:LinkButton>
</td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1"> </td>
<td class="auto-style6"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">Date:</td>
<td class="auto-style6">
<asp:TextBox ID="TextBox2" runat="server" TextMode="Date"
Width="180px"></asp:TextBox>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2"
runat="server" ControlToValidate="TextBox2" ErrorMessage="Date is required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1"> </td>
<td class="auto-style6"> </td>
130
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">Day:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList1" runat="server"
AutoPostBack="True" Width="180px">
<asp:ListItem Value="0">Select Day</asp:ListItem>
<asp:ListItem>Monday</asp:ListItem>
<asp:ListItem>Tuesday</asp:ListItem>
<asp:ListItem>Wednesday</asp:ListItem>
<asp:ListItem>Thursday</asp:ListItem>
<asp:ListItem>Friday</asp:ListItem>
<asp:ListItem>Saturday</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator3"
runat="server" ControlToValidate="DropDownList1" ErrorMessage="Date is required"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1"> </td>
<td class="auto-style6"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">Mathematics:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList2" runat="server" Width="180px">
<asp:ListItem>Select Status</asp:ListItem>
<asp:ListItem>Present</asp:ListItem>
<asp:ListItem>Absent</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator4"
runat="server" ControlToValidate="DropDownList2" ErrorMessage="Select an Option"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1"> </td>
<td class="auto-style6"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">Physics:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList3" runat="server"
AutoPostBack="True" Height="16px" Width="180px">
131
<asp:ListItem>Select Status</asp:ListItem>
<asp:ListItem>Present</asp:ListItem>
<asp:ListItem>Absent</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator5"
runat="server" ControlToValidate="DropDownList3" ErrorMessage="Select an Option"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1"> </td>
<td class="auto-style6"> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">Chemistry:</td>
<td class="auto-style6">
<asp:DropDownList ID="DropDownList4" runat="server"
AutoPostBack="True" Width="180px">
<asp:ListItem>Select Status</asp:ListItem>
<asp:ListItem>Present</asp:ListItem>
<asp:ListItem>Absent</asp:ListItem>
</asp:DropDownList>
<asp:RequiredFieldValidator ID="RequiredFieldValidator6"
runat="server" ControlToValidate="DropDownList4" ErrorMessage="Select an Option"
ForeColor="#FF3300"></asp:RequiredFieldValidator>
</td>
<td> </td>
<td> </td>
</tr>
<tr>
<td class="auto-style3"></td>
<td class="auto-style4"></td>
<td class="auto-style7"></td>
<td class="auto-style5"></td>
<td class="auto-style5"> </td>
</tr>
<tr>
<td class="auto-style2"> </td>
<td class="auto-style1">
<asp:SqlDataSource ID="SqlDataSource1" runat="server"
ConnectionString="<%$ ConnectionStrings:student %>" DeleteCommand="DELETE FROM
[attendancetable] WHERE [Id] = @Id" InsertCommand="INSERT INTO [attendancetable]
([reg_nmbr], [date], [day], [math], [phy], [che]) VALUES (@reg_nmbr, @date, @day,
@math, @phy, @che)" SelectCommand="SELECT * FROM [attendancetable]"
UpdateCommand="UPDATE [attendancetable] SET [reg_nmbr] = @reg_nmbr, [date] = @date,
[day] = @day, [math] = @math, [phy] = @phy, [che] = @che WHERE [Id] = @Id">
<DeleteParameters>
<asp:Parameter Name="Id" Type="Int32" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="reg_nmbr" Type="String" />
<asp:Parameter DbType="Date" Name="date" />
<asp:Parameter Name="day" Type="String" />
<asp:Parameter Name="math" Type="String" />
<asp:Parameter Name="phy" Type="String" />
132
Admin_Attendance.aspx.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
using System.Configuration;
namespace EnginX.Admin
{
public partial class Attendance : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["student"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
attendancetable(reg_nmbr,date,day,math,phy,che)values(@reg_nmbr,@date,@day,@math,@phy,
@che)", con);
cmd.Parameters.AddWithValue("@reg_nmbr",TextBox1.Text);
cmd.Parameters.AddWithValue("@date",TextBox2.Text);
cmd.Parameters.AddWithValue("@day",DropDownList1.SelectedItem.Value);
cmd.Parameters.AddWithValue("@math",DropDownList2.SelectedItem.Value);
cmd.Parameters.AddWithValue("@phy",DropDownList3.SelectedItem.Value);
cmd.Parameters.AddWithValue("@che",DropDownList4.SelectedItem.Value);
if (cmd.ExecuteNonQuery() == 1)
{
Labelattsub.Text = "Submitted";
}
else
{
Labelattsub.Text = "Try again!!";
Labelattsub.ForeColor = System.Drawing.Color.Red;
}
con.Close();
}
about.html
Source
<!--
Author: WebThemez
134
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li class="active"><a
href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
135
voluptates placeat consectetur quam aliquam beatae soluta accusantium iusto nihil
nesciunt unde veniam magnam repudiandae sapiente. consequuntur eius repellendus eos
aliquid molestiae ea laborum ex quibusdam laudantium voluptates placeat consectetur
quam aliquam!</p>
</section>
<!-- /main -->
<div class="panel">
<h4>Latest News</h4>
<ul class="list-unstyled list-spaces">
<li><a href="">Responsive Design</a><br>
<span class="small text-muted">Lorem ipsum dolor sit amet,
consectetur adipisicing elit. Animi, laborum.</span></li>
<li><a href="">HTML5, CSS3 and JavaScript</a><br>
<span class="small text-muted">Consequuntur eius
repellendus eos aliquid molestiae ea laborum ex quibusdam</span></li>
<li><a href="">Bootstrap</a><br>
<span class="small text-muted">Eveniet, consequuntur eius
repellendus eos aliquid molestiae ea</span></li>
<li><a href="">Clean Template</a><br>
<span class="small text-muted">Sed, mollitia earum debitis
est itaque esse reiciendis amet cupiditate.</span></li>
<li><a href="">Premium Quality</a><br>
<span class="small text-muted">Voluptate minus illo
tenetur sint ab in culpa cumque impedit quibusdam. Saepe, molestias quia.</span></li>
</ul>
</div>
</aside>
<!-- /Sidebar -->
</div>
</section>
<!-- /container -->
<section class="team-content">
<div class="container">
<div class="row">
<div class="col-md-12">
<h3>Our Team</h3>
<p>Voluptate minus illo tenetur sint ab in culpa cumque impedit
quibusdam. Saepe, molestias quia.Voluptate minus illo tenetur sint ab in culpa cumque
impedit quibusdam. Saepe, molestias quia.Voluptate minus illo tenetur sint ab in culpa
cumque impedit quibusdam. Saepe, molestias quia.</p>
<br />
</div>
</div>
<div class="row">
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
139
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
140
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>
141
courses.html
Source
<!--
Author: WebThemez
Author URL: http://webthemez.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
142
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li ><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li class="active"><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
<!-- /.navbar -->
<label>Email</label>
<input
type="email" class="form-control" placeholder="Email address">
</div>
</div>
<div class="col-md-6">
<div class="form-group">
<label>Phone</label>
<input
type="text" class="form-control" placeholder="Phone number">
</div>
</div>
</div>
<div class="form-group">
<label>Subject</label>
<input type="text" class="form-
control" placeholder="Subject">
</div>
<div class="form-group">
<label>Message</label>
<textarea class="form-control"
id="message" placeholder="Write you message here..." style="height:100px;"></textarea>
</div>
<button type="submit" class="btn btn-
two">Send message</button><p><br/></p>
</form>
</div>
<div class="col-md-4">
<div class="row">
<div class="col-md-6">
<h3 class="section-
title">Office Address</h3>
<div class="contact-info">
<h5>Address</h5>
<p>5th Street, Carl View
- United States</p>
<h5>Email</h5>
<p>[email protected]</p>
<h5>Phone</h5>
<p>+09 123 1234 123</p>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /container -->
<footer id="footer">
144
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
145
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>
147
videos.html
Source
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" type="text/css" href="assets/css/isotope.css"
media="screen" />
<link rel="stylesheet" href="assets/js/fancybox/jquery.fancybox.css"
type="text/css" media="screen" />
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
148
<div class="row">
<nav id="filter" class="col-md-12 text-
center">
<ul>
<li><a href="#" class="current
btn-theme btn-small" data-filter="*">All</a></li>
<li><a href="#" class="btn-
theme btn-small" data-filter=".webdesign">Development</a></li>
<li><a href="#" class="btn-
theme btn-small" data-filter=".photography">Designing</a></li>
<li><a href="#" class="btn-
theme btn-small" data-filter=".print">Tools</a></li>
</ul>
</nav>
<div class="col-md-12">
<div class="row">
<div class="portfolio-items
isotopeWrapper clearfix" id="3">
<article class="col-sm-4
isotopeItem webdesign">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img1.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img2.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
150
</div>
</article>
<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img3.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem print">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img4.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img5.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
151
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem webdesign">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img6.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem print">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img7.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem photography">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img8.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
152
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
<article class="col-sm-4
isotopeItem print">
<div
class="portfolio-item">
<img
src="assets/images/portfolio/img9.jpg" alt="" />
<div
class="portfolio-desc align-center">
<div class="folio-info">
<h5>Project Title</h5>
</div>
</div>
</div>
</article>
</div>
</div>
</div>
</div>
</section>
</div>
</div>
</section>
<!-- /container -->
<footer id="footer">
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
153
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
154
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
</div>
</div>
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/jquery.cslider.js"></script>
<script src="assets/js/jquery.isotope.min.js"></script>
<script src="assets/js/fancybox/jquery.fancybox.pack.js"
type="text/javascript"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>
contact.html
Source
<!--
Author: WebThemez
Author URL: http://webthemez.com
License: Creative Commons Attribution 3.0 Unported
License URL: http://creativecommons.org/licenses/by/3.0/
-->
<!DOCTYPE html>
<html lang="en">
<head>
156
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="free-educational-responsive-web-template-
webEdu">
<meta name="author" content="webThemez.com">
<title>About - Techro Bootstrap template</title>
<link rel="favicon" href="assets/images/favicon.png">
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700">
<link rel="stylesheet" href="assets/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/font-awesome.min.css">
<!-- Custom styles for our template -->
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen">
<link rel="stylesheet" href="assets/css/style.css">
<!-- HTML5 shim and Respond.js IE8 support of HTML5 elements and media queries
-->
<!--[if lt IE 9]>
<script src="assets/js/html5shiv.js"></script>
<script src="assets/js/respond.min.js"></script>
<![endif]-->
</head>
<body>
<!-- Fixed navbar -->
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li class="active"><a
href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="courses.html">Admission</a></li>
<li><a href="Login.aspx">Log In</a></li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
157
<div class="container">
<h3>Courses</h3>
<p>
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua.
</p>
<br/>
<ul class="list-unstyled video-list-thumbs row">
<li class="col-lg-3 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
<li class="col-lg-3 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
<li class="col-lg-3 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
<li class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
<a href="#" title="Claudio Bravo, antes su debut con el Barça en la
Liga">
<img src="http://i.ytimg.com/vi/ZKOtE9DOwGE/mqdefault.jpg"
alt="Barca" class="img-responsive" height="130px" />
<h2>Claudio Bravo, antes su debut con el Barça en la Liga</h2>
<span class="play-button"></span>
<span class="duration">03:15</span>
</a>
</li>
</ul>
</div>
158
<div id="courses">
<section class="container">
<h3>Development Courses</h3>
<div class="row">
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Responsive Design</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>HTML5/CSS3</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Web Designing</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Web App Dev</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Data Base</h3>
Lorem ipsum dolor sit amet,
consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore
magna aliqua.
</div>
</div>
</div>
<div class="col-md-4">
<div class="featured-box">
<div class="text">
<h3>Mobile App Dev</h3>
159
</section>
</div>
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Course Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
List of Technology
</a>
</li>
<li><a href="#">
List of Business
</a>
</li>
<li><a href="#">
List of Photography
</a>
160
</li>
<li><a href="#">
List of Language
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Products Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">
Individual Plans </a>
</li>
<li><a href="#">
Business Plans
</a>
</li>
<li><a href="#">
Free Trial
</a>
</li>
<li><a href="#">
Academic
</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Browse by Categories
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
All Courses
</a>
</li>
<li> <a href="#">
All Instructors
</a>
</li>
<li><a href="#">
All Members
</a>
</li>
<li>
<a href="#">
All Groups
</a>
</li>
</ul>
</div>
</div>
161
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Lorem reksi this dummy text unde omnis iste natus error sit
volupum</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i> Kerniles 416 - United Kingdom<br>
<i class="fa fa-phone"></i>+00 123 156 711 <br>
<i class="fa fa-envelope-o"></i> [email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
162
<!-- JavaScript libs are placed at the end of the document so the pages load
faster -->
<script
src="http://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script
src="http://netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
</body>
</html>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta charset="utf-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<meta name="description" content="free-educational-responsive-web-template-
webEdu"/>
<meta name="author" content="webThemez.com"/>
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png"/>
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen"/>
<link rel="stylesheet" href="assets/css/style.css"/>
<script src="assets/js/jquery.min.js'>"></script>
<script>
$(function () {
("#header").load("header.html");
});
</script>
</asp:ContentPlaceHolder>
<footer id="footer">
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
164
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
<p class="simplenav">
<a href="index.html">Home</a> |
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
<!-- JavaScript libs are placed at the end of the document so the pages load faster --
>
<script src="assets/js/modernizr-latest.js"></script>
<script type='text/javascript' src='assets/js/jquery.min.js'></script>
<script type='text/javascript'
src='assets/js/fancybox/jquery.fancybox.pack.js'></script>
<script type='text/javascript'
src='assets/js/jquery.mobile.customized.min.js'></script>
<script type='text/javascript' src='assets/js/jquery.easing.1.3.js'></script>
<script type='text/javascript' src='assets/js/camera.min.js'></script>
<script src="assets/js/bootstrap.min.js"></script>
<script src="assets/js/custom.js"></script>
<script>
jQuery(function () {
jQuery('#camera_wrap_4').camera({
transPeriod: 500,
time: 3000,
height: '600',
loader: 'false',
pagination: true,
thumbnails: false,
hover: false,
playPause: false,
navigation: false,
opacityOnGrid: false,
imagePath: 'assets/images/'
});
});
</script>
</div>
166
</form>
</body>
</html>
Site.Master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class SiteMaster : MasterPage
{
private const string AntiXsrfTokenKey = "__AntiXsrfToken";
private const string AntiXsrfStudentNameKey = "__AntiXsrfStudentName";
private string _antiXsrfTokenValue;
Page.PreLoad += master_Page_PreLoad;
}
}
else
{
// Validate the Anti-XSRF token
if ((string)ViewState[AntiXsrfTokenKey] != _antiXsrfTokenValue
|| (string)ViewState[AntiXsrfStudentNameKey] !=
(Context.Student.Identity.Name ?? String.Empty))
{
throw new InvalidOperationException("Validation of Anti-XSRF token
failed.");
}
}
}
}
}
}
<!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="free-educational-responsive-web-template-
webEdu"/>
<meta name="author" content="webThemez.com"/>
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png"/>
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen"/>
<link rel="stylesheet" href="assets/css/style.css"/>
<script src="assets/js/jquery.min.js'>"></script>
<script>
$(function () {
("#header").load("header.html");
});
</script>
<div>
<div class="navbar navbar-inverse">
<div class="container">
<div class="navbar-header">
<!-- Button for smallest screens -->
<button type="button" class="navbar-toggle" data-
toggle="collapse" data-target=".navbar-collapse"><span class="icon-bar"></span><span
class="icon-bar"></span><span class="icon-bar"></span></button>
<a class="navbar-brand" href="Default.aspx">
<img src="assets/images/logo.png" alt="Techro HTML5
template"></a>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li>
<asp:LinkButton ID="LinkButton1" class="nav navbar-nav pull-
right mainNav" runat="server" OnClick="LinkButton1_Click">Logout</asp:LinkButton>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</asp:ContentPlaceHolder>
<footer id="footer">
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
169
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
IEM Management Campus</a>
</li>
<li><a href="#">
IEM Ashram Campus</a>
</li>
<li><a href="#">
New York Public School</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Admissions
</h4>
<div class="menu-course">
<ul class="menu">
<li> <a href="#">Application Procedure </a></li>
<li><a href="#">Live Counseling</a></li>
<li><a href="#">Scholarship Scheme</a></li>
<li><a href="#">Career</a>
<li><a href="#">Test Education</a>
<li><a href="#">Loans</a>
</li>
</ul>
</div>
</div>
</div>
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>Contact</h4>
<p>Institute of Engineering & Management</p>
<div class="contact-info">
<i class="fa fa-map-marker"></i>Ashram Building, GN-34/2, Sector – V,
Saltlake Electronics Complex
Kolkata – 700 091, West Bengal, India.<br>
<i class="fa fa-phone"></i>+91 7278162910 <br>
<i class="fa fa-envelope-o"></i>[email protected]
</div>
</div><!-- end widget -->
</div>
</div>
</div>
<div class="social text-center">
<a href="#"><i class="fa fa-twitter"></i></a>
<a href="#"><i class="fa fa-facebook"></i></a>
<a href="#"><i class="fa fa-dribbble"></i></a>
<a href="#"><i class="fa fa-flickr"></i></a>
<a href="#"><i class="fa fa-github"></i></a>
</div>
<div class="clear"></div>
170
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
</div>
<!-- /row of panels -->
</div>
</div>
</footer>
</div>
</form>
</body>
</html>
Site2.Master.cs
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace EnginX
{
public partial class Site2 : System.Web.UI.MasterPage
{
protected void Page_Load(object sender, EventArgs e)
171
<!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="free-educational-responsive-web-template-
webEdu"/>
<meta name="author" content="webThemez.com"/>
<title>free-educational-responsive-web-template-webEdu</title>
<link rel="favicon" href="assets/images/favicon.png"/>
<link rel="stylesheet" media="screen"
href="http://fonts.googleapis.com/css?family=Open+Sans:300,400,700"/>
<link rel="stylesheet" href="assets/css/bootstrap.min.css"/>
<link rel="stylesheet" href="assets/css/font-awesome.min.css"/>
<link rel="stylesheet" href="assets/css/bootstrap-theme.css" media="screen"/>
<link rel="stylesheet" href="assets/css/style.css"/>
<script src="assets/js/jquery.min.js'>"></script>
<script>
$(function () {
("#header").load("header.html");
});
</script>
</div>
<div class="navbar-collapse collapse">
<ul class="nav navbar-nav pull-right mainNav">
<li><a href="Default.aspx">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="courses.html">Departments</a></li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-
toggle="dropdown">Departments<b class="caret"></b></a>
<ul class="dropdown-menu">
<li><a href="sidebar-
right.html">Civil</a></li>
<li><a href="sidebar-
right.html">Mechanical</a></li>
<li><a href="sidebar-right.html">Electrical</a></li>
<li><a href="sidebar-right.html">Electronics</a></li>
</ul>
</li>
<li><a href="videos.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
<li><a href="#">Admission</a></li>
<li>
<asp:LinkButton ID="LinkButton1" class="nav navbar-nav pull-
right mainNav" runat="server" OnClick="LinkButton1_Click">Logout</asp:LinkButton>
</li>
</ul>
</div>
<!--/.nav-collapse -->
</div>
</div>
</asp:ContentPlaceHolder>
<footer id="footer">
<div class="container">
<div class="row">
<div class="footerbottom">
<div class="col-md-3 col-sm-6">
<div class="footerwidget">
<h4>
Our Campus
</h4>
<div class="menu-course">
<ul class="menu">
<li><a href="#">
UEM Kolkata</a>
</li>
<li><a href="#">
UEM Jaipur</a>
</li>
<li><a href="#">
IEM Gurukul Campus</a>
</li>
<li><a href="#">
IEM Management Campus</a>
</li>
<li><a href="#">
173
<div class="clear"></div>
<!--CLEAR FLOATS-->
</div>
<div class="footer2">
<div class="container">
<div class="row">
<a href="about.html">About</a>
|
<a
href="courses.html">Courses</a> |
<a href="price.html">Price</a>
|
<a
href="videos.html">Videos</a> |
<a
href="contact.html">Contact</a>
</p>
</div>
</div>
</div>
<!-- /row of panels -->
</div>
</div>
</footer>s
</div>
</form>
</body>
</html>
Admin.Master