CMS Final ReportL

You might also like

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 57

COLLEGE MANAGEMENT SYSTEM

1
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
College Management System

Submitted in partial fulfillment of the requirements for

Bachelor of Computer Application

By

Nidhi Gaur
Komal Chauchan
M.Tasim


Under guidance
Of
Mrs.Manjula Shanbhog








COLLEGE MANAGEMENT SYSTEM

2
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
Acknowledgement

First and for most ,We would like to thanks our GOD for giving us privileged to work
for this University with the pleasure to receive our higher education in this institution
HIERANK BUSINESS SCHOOL NOIDA magnificently and grow fully under the
dynamic leadership of MRS.MANJULA SHANBHOG.

We are proud to be the students of this great university. It gives us immense pleasure to
acknowledge the contribution and utmost assistance of number of individual for developing
this project. First we thank all the members of teaching staff of Dept.of Computer Science of
this college specially our project guide MRS.MANJULA SHANBHOG we would also like
to express thanks to our Parent for their support during our studies without whom anything
would have been possible and we dedicate all our parents.

It is very difficult for anyone to complete a project without active co-operation and the
benefit of the advice from the people who are expert in the field of specialization. We would
like to express our gratitudes to those, who were concerned with the processing of this report.
We are very thank full to them although, hardly compensation for the time they have expended.











COLLEGE MANAGEMENT SYSTEM

3
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

Undertaking

We Nidhi Gaur(8795035) , Komal Chauchan (8795023),M.Tasim(8795027) of
batch 2011-2014, full time bonafide students of Final year of Bachelor of
Computer Application (BCA) Programme at CCS University, do hereby declare
that this project work carried out by us, is an original work under the guidance
of the mentor and is not based or reproduced from any existing work of
any other person or on any earlier work undertaken at any other time or for
any other purpose, and has not been submitted anywhere else at any time.





______________________
(Studentss Signature)
Date:-













COLLEGE MANAGEMENT SYSTEM

4
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
Certificate



This is to certify that the project work COLLEGE MANAGEMENT SYSTEM

Done by NIDHI GAUR (8795035), KOMAL CHAUCHAN (8795023),
M.TASIM (8795027) is an

Authentic work carried out by them under my supervision.

Date:



MRS.MANJULA SHANBHOG _ _ _ _ _ _ _ _ _ _ _ _
Name of the Mentor Signature of the Mentor





COLLEGE MANAGEMENT SYSTEM

5
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

TABLE OF CONTENTS
PAGE NO.
1. INTRODUCTION.

1.1 Objective of Project6
1.2 Scope of the Project...........................6
1.3 Benefits...7

2. System Specifications

2.1 Software Configuration.7
2.2 Hardware Configuration7


3. Need of the Project .... 8

4. Introduction of Modules ... 9

5. Feasibility Study .. 12

6. Design ..

6.1 E-R Diagram.15
6.2 Data Flow Diagram...17

7. Modules layout.......... 19

8. Database. 28

8.1 Database layout..29

9. Coding ....... 30

10. Testing . . 52

11. Conclusion.. 54

12. Future Scope55

13. Bibliography56

COLLEGE MANAGEMENT SYSTEM

6
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

1. Introduction

College management software is prepared to maintain the day to day operations in a leading
college. This software helps them to maintain the student and employee records. Therefore,
management becomes easier.


1.1Objective of the Project


Main aim of this project is to provide an easy way, not only to automate all functionalities of a
college, but also to provide full functional reports to top management of college with the finest
of details about each aspect of college.

The Core purpose of designing College Management System is to manage the task related
to the college students/employees and to reduce time in searching of appropriate candidates in
college view.



1.2 Scope of the System


This system provides the detail structure of the college campus and its departments. College
Management System synchronizes the working of all the departments. It looks on all aspects of a
college, its students, faculties, Departments, marks and other co curricular activities.

College Management System is the easiest way to manage all functionalities of a college, which
Facilitates colleges to maintain the functionality related to college employees and their students.



COLLEGE MANAGEMENT SYSTEM

7
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

1.3Benefits


Collective records of student.
Collective records of Faculty.
Easy approach to find the detail information for any student and employee.
Easy to handle functionality of the college.
It is helpful to maintain the student records (admission record, fee record, Registration
records etc.).

2. SYSTEM SPECIFICATION
2.1 Software Configuration

Component Feature
Platform Window 7, Windows XP
Frontend ASP.NET
Backend SQL Server

2.2 Hardware Configuration
Component Feature
CPU Intel i5
RAM 4GB
HDD 500GB
Cache Memory 512 K
Printer Any good quality printer
CD-Drive LG, Samsung
Input Device 106 Key Keyboard
Mouse
Backup Device Pen Drive or CD
COLLEGE MANAGEMENT SYSTEM

8
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

3. NEED OF PROJECT

The main objective of the project COLLEGE MANAGEMENT SYSTEM is to provide a user-
friendly interface. The system which is proposed now computerizes all the details that are
maintained manually. Once the details are fed into the computer there is no need for various
persons to deal with separate sections. Only a single person is enough to maintain all the reports.
The security can also be given as per the requirement of the user.


large volumes of data can be stored with case.

Maintenance of file is flexible.

Records stored are updated now and then.

Stored data and procedures can be easily edited.

Reports can be generated with case.

Accurate calculations are made.

less manpower required.















COLLEGE MANAGEMENT SYSTEM

9
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

4. INTRODUCTION OF MODULES:


1. Student

i. Registration

ii. Admission

iii. Search


2. HR Details

i. Joining Details

ii. In-service /leaving faculty details

iii. Salary details

iv. Edit the information and Search


3. Fees Details

i. Course wise Fees Detail

ii. Hostel fee details

iii. Mode of Fee payment details

iv. Search


4. Class Room Management

i. Seminar Hall Details

ii. Year wise Class Room




COLLEGE MANAGEMENT SYSTEM

10
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim


1. Student:-


(i) Registration: The student registration page is designed for registering the new
students details and course details.

(ii) Admission: The student admission page is designed for admission details of new
students.

(iii) Search: The Search page is designed for search the registration and admission details
of the students.



2. HR details:-


(i) Joining Details: The joining details page is designed for entering the details of new
faculty like Name, Id, and DOJ etc.

(ii) In-Service / Leaving Faculty details: This page is designed for entering the Service
details of the Faculty that he is still working or not.

(iii) Salary Details: This page is designed for entering the salary details of the working
faculty and it also calculates the gross salary of the faculty.

(iv) Edit the information and Search: By this page we can search, update and delete the
details of the faculty.






COLLEGE MANAGEMENT SYSTEM

11
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
3. Fee details:-

(i) Course Wise Fee Details: - This page is designed to show the fee details of the all
courses.

(ii) Hostel Fee details: - This page is designed to show the hostel fee details like Fee
for A/C, Non- A/C rooms etc.

(iii) Mode of the Fee payment Details: - This page is designed to enter the record of the
students fee payment mode.

(iv) Search: This page is designed to search the students fee payment details.




4. Class Room Management:-

(i) Seminar Hall Details: This form is designed to show the details of the Seminar Hall.

(ii) Year Wise Class Room: This page is designed to show the details of class room for
the student semester wise.












COLLEGE MANAGEMENT SYSTEM

12
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
5. Feasibility Study

TECHNICAL FEASIBILTY


ECONOMIC FEASIBILITY


OPERATIONAL FEASIBILITY


TIME FEASIBILITY

The key considerations involved in the feasibility analysis are

i. TECHNICAL FEASIBILTY

ii. ECONOMIC FEASIBILITY

iii. OPERATIONAL FEASIBILITY

iv. TIME FEASIBILITY


Detailed feasibility analysis for the system is discussed below.




COLLEGE MANAGEMENT SYSTEM

13
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
(i) TECHNICAL FEASIBILITY

The system is technically feasible as the necessary hardware, software and other tools are
available to develop the application.


(ii) ECONOMIC FEASIBILITY

The system assures to give full value for money, as it does not require very costly environment
to run, i.e. it uses the advantages of existing hardware and software tools. It is very easy to
implement and use this system.



(iii) OPERATIONAL FEASIBILITY

It is mainly related to human organization and political aspects. All the working members of
the system are having sufficient computer knowledge to make it easy to use. As the system is
being developed in a latest technology that user will get a good feel the system and will have
complete assistance from the system.

(iv) TIME FEASIBILITY
This feasibility says that the system should be developed within period of time. This system can
be easily developed in the period specified by the users.



COLLEGE MANAGEMENT SYSTEM

14
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim











6. DESIGN


















COLLEGE MANAGEMENT SYSTEM

15
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
6.1 E-R Diagram:
Also called an entity-relationship (ER) model, a graphical representation of entities and

Their relationships to each other, typically used in computing in regard to the organization of

Data within databases or information systems. An entity is a piece of data-an object or concept

About which data is stored. A relationship is how the data is shared between entities. There are

Three types of relationships between entities:

one-to-one: one instance of an entity (A) is associated with one other instance of another
Entity (B).
one-to-many: one instance of an entity (A) is associated with zero, one or many instances of
Another entity (B), but for one instance of entity B there is only one instance
of
Entity A.
many-to-many: one instance of an entity (A) is associated with one , zero or many instances

Of another entity (B) and one instance of entity B is associated with one,

Zero or many instances of entity A.
E-R Notations:-
Entities are represented by labeled rectangles. The label is the name of the entity. Entity
names should be singular nouns.
Relationships are represented by a solid line connecting two entities. The name of the
relationship is written above the line. Relationship names should be verbs
Attributes, when included, are listed inside the entity rectangle. Attributes which are
identifiers are underlined. Attribute names should be singular nouns.
Cardinality of many is represented by a line ending in a crow's foot. If the crow's foot is
omitted, the cardinality is one.
COLLEGE MANAGEMENT SYSTEM

16
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
Existence is represented by placing a circle or a perpendicular bar on the line.
E-R Diagram


Login Password
Login
Collg.
Mgt
system
Student
Registration
Admission
Search
Fee Details HR DETAILS
Course Wise
Fee Details
Hostel Fee
Joining
Detail
In-
service/Le
-aving
Faculty
Details
Salary
Details
Edit the
info. And
Search
Mode of Fee
Payment
Search
Class Room Mgt.
System
Seminar
Hall
Class
Room
Faculty_id
Enrollment no
Enrollment no
Registration_id
COLLEGE MANAGEMENT SYSTEM

17
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim



6.2 Data Flow Diagram

A dat a flow Di agram is a graphical techni que that depi cts i nformation fl ow &

the transformati on t hat depicts i nformati on fl ow & t he transforms that are ap-

-pli ed as dat a moves from i nput to out put .







Level 0 DFD









Clg. Detail

















College

Management

System

USER
COLLEGE MANAGEMENT SYSTEM

18
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim




Level 1 DFD




Student db


Course db























Fee db HR db








Class db





College

Management

System
Log in


Fee Structure

HR Details

Course Details

Student details

Class Room Mgt.
COLLEGE MANAGEMENT SYSTEM

19
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

























7. MODULES
LAYOUT
























COLLEGE MANAGEMENT SYSTEM

20
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim



LOG IN




HOME
COLLEGE MANAGEMENT SYSTEM

21
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim



STUDENT- REGISTRATION




COLLEGE MANAGEMENT SYSTEM

22
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
ADMISSION


SEARCH




COLLEGE MANAGEMENT SYSTEM

23
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
HR JOINING DETAILS



FACULTY STATUS RECORD



COLLEGE MANAGEMENT SYSTEM

24
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

SALARY DETAILS

SEARCH AND UPDATE




COLLEGE MANAGEMENT SYSTEM

25
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
FEE DETAIL COURSE FEE



HOSTEL FEE



COLLEGE MANAGEMENT SYSTEM

26
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

MODE OF FEE PAYMENT


FEE RECORD SEARCH



COLLEGE MANAGEMENT SYSTEM

27
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

CLASS ROOM MGT. SEMINAR HALL


CLASS ROOM



COLLEGE MANAGEMENT SYSTEM

28
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

CONTACT


8. DATABASE

A database is similar to a data file in that it is a storage place for data. Like a data file, a database
does not present information directly to a user; the user runs an application that accesses data
from the database and present it to the user in an understandable format.
A database typically has two components: the file holding the physical database and the
Data base Management System (DBMS) software that application uses to access data. The
DBMS is responsible for enforcing the data structure, including:

Maintain the relationship between data in the database.
Ensuring the data is stored correctly and the rules defining data relationships are not
violated.
Recovering all data to a point of no consistency in case of system failure.

Relational database
COLLEGE MANAGEMENT SYSTEM

29
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
There are different ways to organize data in a database but relational databases are
one of the most effective. Relational database systems are an application of mathematical set
theory to the problem of effectively organizing data. In a relational database, data is collected
into tables (called relations in relational theory).
When organizing data into tables, you can usually find many different ways to define
tables. Relational database theory defines a process, normalization, which ensures that the set of
tables you define will organize your data effectively.




8.1 DATABASE LAYOUT

COLLEGE MANAGEMENT SYSTEM

30
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim










COLLEGE MANAGEMENT SYSTEM

31
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim







9. CODING











LOGIN .ASPX.CS

Using System;
Using System.Collections.Generic;
Using System.Linq;
Using System. Web;
COLLEGE MANAGEMENT SYSTEM

32
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
Using System.Web.UI;
Using System.Web.UI.WebControls;

Public partial class login: System.Web.UI.Page
{
String n = "user";
String p = "pass";
Protected void Page Load (object sender, EventArgs e)
{

}
Protected void btnlgin_Click (object sender, EventArgs e)
{
If (txtlgin.Text == n && txtpassw.Text == p)
{
Server.Transfer ("Home.aspx");

}
Else
{
Label1.Visible = true;
Label1.Text = "Please enter correct details";

}

}

}
HOME SOURCE CODE
<%@ Page Title="" Language="C#" BachelorPageFile="~/BachelorPage.Bachelor" AutoEventWireup="true" Code
File="Home.aspx.cs" Inherits="Home" %>

<asp: Content ID="Content1" ContentPlaceHolderID="head" Run at="Server">
<style type="text/css">
.auto-style7 {
Width: 401px;
Height: 85px;
}
.auto-style8 {
Width: 410px;
}
.auto-style10 {
Width: 292px;
Height: 185px;
}
.auto-style12 {
Width: 297px;
Height: 183px;
}
.auto-style14 {
Width: 301px;
COLLEGE MANAGEMENT SYSTEM

33
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
Height: 192px;
}
.auto-style11 {
Width: 250px;
Height: 203px;
}
.auto-style13 {
Width: 220px;
Height: 183px;
}
.auto-style9 {
Width: 250px;
Height: 220px;
}
</style>
</asp: Content>

<asp: Content ID="Content2" run at="server" ContentPlaceHolderID="ContentPlaceHolder1">
<table class="auto-style5" style="height: 641px">
<TR>
<td class="auto-style8">
<img alt="" class="auto-style14" src="image/1%20(2).jpg" /></td>
<Td>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<img alt="" class="auto-style9" src="image/1%20(1).jpg" />&nbsp ;< /td>
</TR>
<TR>
<td class="auto-style8">
<img alt="" class="auto-style12" src="image/1%20(5).jpg" /></td>
<Td>
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
<img alt="" class="auto-style11" src="image/1%20(4).jpg" />&nbsp ;< /td>
</TR>
<TR>
<td class="auto-style8">
<img alt="" class="auto-style10" src="image/1%20(3).jpg" /></td>
<Td>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<img alt="" class="auto-style13" src="image/1%20(6).jpg" />&nbsp ;< /td>
</TR>
</table>
</asp: Content>





REGISTRATION.ASPX.CS

Using System;
Using System. Data;
Using System. Configuration;
Using System. Web;
COLLEGE MANAGEMENT SYSTEM

34
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
Using System.Web.Security;
Using System.Web.UI;
Using System.Web.UI.WebControls;
Using System.Web.UI.WebControls.WebParts;
Using System.Web.UI.HtmlControls;
Using System.Data.SqlClient;

Public partial class Registration: System.Web.UI.Page
{
Protected void Page Load (object sender, EventArgs e)
{
lblAddr.Visible = false;
lblDOB.Visible = false;
lblFname.Visible = false;
lblFthName.Visible = false;
lblid.Visible = false;
lblLname.Visible = false;
lblMail.Visible = false;
lblMthName.Visible = false;
lblPNo.Visible = false;
lblGen.Visible = false;
lblPrg.Visible = false;
lblmsg.Visible = false;
}
Protected void DropDownList1_SelectedIndexChanged (object sender, EventArgs e)
{
}
Protected void DropDownList2_SelectedIndexChanged (object sender, EventArgs e)
{
}
Protected void btnr_Click (object sender, EventArgs e)
{
lblmsg.Visible = false;
txtid.Text = "";
txtfname.Text = "";
txtmname.Text = "";
txtlname.Text = "";
txtfaname.Text = "";
txtmtname.Text = "";
ddlg.SelectedIndex = 0;
txtaddress.Text = "";
txtid.Text = "";
ddlp.SelectedIndex = 0;
txtdate.Text = "";
txtdob.Text = "";
txtphn.Text = "";
}
protected void btnsubmit_Click(object sender, EventArgs e)
{
if(txtid.Text=="" || txtfname.Text=="" || txtlname.Text=="" || txtfaname.Text=="" || txtmtname.Text=="" ||
txtaddress.Text=="" || txteid.Text=="" || txtdob.Text=="" || txtphn.Text=="")
{
if (txtid.Text == "")
lblid.Visible = true;
if (txtfname.Text == "")
COLLEGE MANAGEMENT SYSTEM

35
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
lblFname.Visible = true;
if (txtlname.Text == "")
lblLname.Visible = true;
if (txtfaname.Text == "")
lblFthName.Visible = true;
if (txtmtname.Text == "")
lblMthName.Visible = true;
if (txtaddress.Text == "")
lblAddr.Visible = true;
if (txteid.Text == "")
lblMail.Visible = true;
if (txtdob.Text == "")
lblDOB.Visible = true;
if (txtphn.Text == "")
lblPNo.Visible = true;
if (ddlg.SelectedValue == "Select")
lblGen.Visible = true;
if (ddlg.SelectedValue == "Select")
lblPrg.Visible = true;
}
else
{
try
{
string chk = GenerateId();
if (chk != "exist")
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
//SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["collegedatabase1"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
registration(registrationid,f_name,m_name,l_name,FatherName,MotherName,gender,regaddress,emailid,program,re
gdate,regdob,regphoneno)" +
"values ('" + txtid.Text.Trim().ToUpper() + "','" + txtfname.Text.Trim().ToUpper() + "','" +
txtmname.Text.Trim().ToUpper() + "','" + txtlname.Text.Trim().ToUpper() + "','" +
txtfaname.Text.Trim().ToUpper() + "','" + txtmtname.Text.Trim().ToUpper() + "','" + ddlg.SelectedValue.ToString()
+ "','" + txtaddress.Text.Trim().ToUpper() + "','" + txteid.Text.Trim().ToUpper() + "','" +
ddlp.SelectedValue.ToString() + "','" + txtdate.Text.Trim().ToUpper() + "','" + txtdob.Text.Trim().ToUpper() + "','"
+ txtphn.Text.Trim().ToUpper() + "')", con);
cmd.ExecuteNonQuery();
con.Close();
lblmsg.Visible = true;
lblmsg.Text = "Data successfully stored...";
}
else
{
lblmsg.Visible = true;
lblmsg.Text = "Student Already Registered ...";
}
txtid.Text = "";
txtfname.Text = "";
txtmname.Text = "";
txtlname.Text = "";
COLLEGE MANAGEMENT SYSTEM

36
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
txtfaname.Text = "";
txtmtname.Text = "";
ddlg.SelectedIndex = 0;
txtaddress.Text = "";
txteid.Text = "";
ddlp.SelectedIndex = 0;
txtdate.Text = "";
txtdob.Text = "";
txtphn.Text = "";
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
}
}
}
private string GenerateId()
{
string Ids = "000";
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
cn.Open();
SqlCommand cmd1 = new SqlCommand("Select * from registration Where registrationid= '" + txtid.Text + "'
", cn);
SqlDataReader dr1 = cmd1.ExecuteReader();
if (dr1.HasRows)
{
Ids = "exist";
}
cn.Close();
cmd1.Dispose();
dr1.Dispose();
return Ids;
}

}


ADMISSION.ASPX.CS

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class Admission : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lblErl.Visible = false;
COLLEGE MANAGEMENT SYSTEM

37
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
lblid.Visible = false;
lbl10P.Visible = false;
lbl10B.Visible = false;
lbl12P.Visible = false;
lbl12B.Visible = false;
lblPrg.Visible = false;
lblSsn.Visible = false;
lblGen.Visible = false;
lblPrg.Visible = false;
lblmsg.Visible = false;
}
protected void btnr1_Click(object sender, EventArgs e)
{
lblmsg.Visible = false;
txteroll.Text = "";
txtrid.Text = "";
txtnme.Text = "";
txtfname1.Text = "";
ddl1.SelectedIndex = 0;
txtpno.Text = "";
txtaddre.Text = "";
ddl2.SelectedIndex = 0;
txtten.Text = "";
txttw.Text = "";
txtgd.Text = "";
txtten1.Text = "";
txttw1.Text = "";
txtgd1.Text = "";
txts.Text = "";
txteskill.Text = "";
txtemail.Text = "";
}
protected void btns1_Click(object sender, EventArgs e)
{
if (txteroll.Text == "" || txtrid.Text == "" || txtten.Text == "" || txttw.Text == "" || txtgd.Text == "" || txtten1.Text
== "" || txttw1.Text == "" || txtgd1.Text == "" || txts.Text == "" || ddl1.SelectedValue == "Select" ||
ddl2.SelectedValue == "Select")
{
if (txteroll.Text == "")
lblErl.Visible = true;
if (txtrid.Text == "")
lblid.Visible = true;
if (txtten.Text == "")
lbl10P.Visible = true;
if (txtten1.Text == "")
lbl10B.Visible = true;
if (txttw.Text == "")
lbl12P.Visible = true;
if (txttw1.Text == "")
lbl12B.Visible = true;
if (txts.Text == "")
lblSsn.Visible = true;
if (ddl1.SelectedValue == "Select")
lblGen.Visible = true;
if (ddl2.SelectedValue == "Select")
COLLEGE MANAGEMENT SYSTEM

38
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
lblPrg.Visible = true;
}
else
{
try
{
string chk = GenerateId();
if (chk != "exist")
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
//SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["collegedatabase1"].ConnectionString);
con.Open();
SqlCommand cmd = new SqlCommand("insert into
admission(enrollno,registrationid_add,sname,fathername,grnder,phoneno,addresadmin,course,per10,per12,pergrad,b
ord10,bord12,boardgrad,sessionahmin,extraskill,emailid)" +
"values ('" + txteroll.Text.Trim().ToUpper() + "','" + txtrid.Text.Trim().ToUpper() + "','" +
txtnme.Text.Trim().ToUpper() + "','" + txtfname1.Text.Trim().ToUpper() + "','" + ddl1.SelectedValue.ToString() +
"','" + txtpno.Text.Trim().ToUpper() + "','" + txtaddre.Text.Trim().ToUpper() + "','" + ddl2.SelectedValue.ToString()
+ "','" + txtten.Text.Trim().ToUpper() + "','" + txttw.Text.Trim().ToUpper() + "','" + txtgd.Text.Trim().ToUpper() +
"','" + txtten1.Text.Trim().ToUpper() + "','" + txttw1.Text.Trim().ToUpper() + "','" + txtgd1.Text.Trim().ToUpper()
+ "','" + txts.Text.Trim().ToUpper() + "','" + txteskill.Text.Trim().ToUpper() + "','" +
txtemail.Text.Trim().ToUpper() + "')", con);
cmd.ExecuteNonQuery();
con.Close();
lblmsg.Visible = true;
lblmsg.Text = "Data is successfully stored...";
}
else
{
lblmsg.Visible = true;
lblmsg.Text = "Enrollment Already exist...";
}
txteroll.Text = "";
txtrid.Text = "";
txtnme.Text = "";
txtfname1.Text = "";
ddl1.SelectedIndex = 0;
txtpno.Text = "";
txtaddre.Text = "";
ddl2.SelectedIndex = 0;
txtten.Text = "";
txttw.Text = "";
txtgd.Text = "";
txtten1.Text = "";
txttw1.Text = "";
txtgd1.Text = "";
txts.Text = "";
txteskill.Text = "";
txtemail.Text = "";
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
COLLEGE MANAGEMENT SYSTEM

39
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
}
}
}
private string GenerateId()
{
string Ids = "000";
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
cn.Open();
SqlCommand cmd1 = new SqlCommand("Select * from admission Where enrollno= '" + txteroll.Text +"' ",
cn);
SqlDataReader dr1 = cmd1.ExecuteReader();
if (dr1.HasRows)
{
Ids = "exist";
}
cn.Close();
cmd1.Dispose();
dr1.Dispose();
return Ids;
}
protected void txtrid_TextChanged(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
SqlCommand cmd = new SqlCommand();
SqlDataReader dr;
cn.Open();
cmd.Connection = cn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "Select * From registration where registrationid ='" + txtrid.Text + "'";
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
dr.Read();
txtnme.Text = dr["f_name"].ToString() + " " + dr["m_name"].ToString() + " " + dr["l_name"].ToString();
txtfname1.Text = dr["fathername"].ToString();
ddl1.SelectedValue = dr["gender"].ToString();
txtemail.Text = dr["emailid"].ToString();
txtpno.Text = dr["regphoneno"].ToString();
txtaddre.Text = dr["regaddress"].ToString();
ddl2.SelectedValue = dr["program"].ToString();
}
cn.Dispose();
cmd.Dispose();
dr.Dispose();
}
}


SEARCH.ASPX.CS

using System;
using System.Collections;
using System.Data;
using System.Linq;
COLLEGE MANAGEMENT SYSTEM

40
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using System.Configuration;
using System.Text;

public partial class Search : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
GridView1.Visible = false;
GridView2.Visible = false;
}
protected void btnrds_Click(object sender, EventArgs e)
{
lbl1.Visible = false;
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
con.Open();
if (txtsid.Text != "" && txtenno.Text == "")
{
string WhereSql = " where registrationid !='#23423' ";
WhereSql += " And registrationid like '%" + txtsid.Text + "%' ";
SqlDataSource1.SelectCommand = "SELECT * from registration" +
WhereSql;
SqlDataSource2.DataBind();
GridView1.DataBind();
GridView1.Visible = true;
}
if (txtenno.Text != "")
{
string WhereSql = " where enrollno !='#23423' ";
WhereSql += " And enrollno like '%" + txtenno.Text + "%' ";
SqlDataSource1.SelectCommand = "select registrationid,enrollno,sname,a.emailid,phoneno,course from
admission a left join registration r on registrationid=registrationid_add" +
WhereSql;
SqlDataSource1.DataBind();
GridView2.DataBind();
GridView2.Visible = true;
}
txtenno.Text = "";
txtsid.Text = "";
}
protected void txtsid_TextChanged(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
SqlCommand cmd = new SqlCommand();
SqlDataReader dr;
cn.Open();
cmd.Connection = cn;
cmd.CommandType = CommandType.Text;
COLLEGE MANAGEMENT SYSTEM

41
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
cmd.CommandText = "Select * From admission where registrationid_add ='" + txtsid.Text + "'";
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
dr.Read();
txtenno.Text = dr["enrollno"].ToString();
}
cn.Dispose();
cmd.Dispose();
dr.Dispose();
}
}



JOININGDETAIL.ASPX.CS

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class JoiningDetail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lblAddr.Visible = false;
lblDOJ.Visible = false;
lblFid.Visible = false;
lblFname.Visible = false;
lblGender.Visible = false;
lblMail.Visible = false;
lblPno.Visible = false;
lblPost.Visible = false;
lblQual.Visible = false;
}
protected void txteid_TextChanged(object sender, EventArgs e)
{

}
protected void btnres7_Click(object sender, EventArgs e)
{

}
protected void btnsub_Click(object sender, EventArgs e)
{
if (txtdoj.Text == "" || txtfadd.Text == "" || txtfeid9.Text == "" || txtfid1.Text == "" || txtfnme.Text == "" ||
txtfpn.Text == "" || txthq.Text == "" || txtp.Text == "")
COLLEGE MANAGEMENT SYSTEM

42
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
{
if (txtdoj.Text == "")
lblDOJ.Visible = true;
if (txtfadd.Text == "")
lblAddr.Visible = true;
if (txtfeid9.Text == "")
lblMail.Visible = true;
if (txtfid1.Text == "")
lblFid.Visible = true;
if (txtfnme.Text == "")
lblFname.Visible = true;
if (txtfpn.Text == "")
lblPno.Visible = true;
if (txthq.Text == "")
lblQual.Visible = true;
if (txtp.Text == "")
lblPost.Visible = true;
if (ddlgen.SelectedValue == "Select")
lblGender.Visible = true;
}
else
{
try
{
string chk = GenerateId();
if (chk != "exist")
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
con.Open();
SqlCommand cmd = new SqlCommand("insert into
facultydetail(facultyid,facultyname,addressfacult,phone,qualification,hobbies,post,emailid,gender,doj)" +
"values ('" + txtfid1.Text.Trim().ToUpper() + "','" + txtfnme.Text.Trim().ToUpper() + "','" +
txtfadd.Text.Trim().ToUpper() + "','" + txtfpn.Text.Trim().ToUpper() + "','" + txthq.Text.Trim().ToUpper() + "','" +
txthobb.Text.Trim().ToUpper() + "','" + txtp.Text.Trim().ToUpper() + "','" + txtfeid9.Text.Trim().ToUpper() + "','" +
ddlgen.SelectedValue + "','" + txtdoj.Text.Trim().ToUpper() + "')", con);
cmd.ExecuteNonQuery();
con.Close();
lblmsg.Visible = true;
lblmsg.Text = "Data is successfully stored...";
}
else
{
lblmsg.Visible = true;
lblmsg.Text = "Faculty Already registered...";
}
txtfid1.Text = "";
txtfnme.Text = "";
txtfadd.Text = "";
txtfpn.Text = "";
txthq.Text = "";
txthobb.Text = "";
txtp.Text = "";
txtfeid9.Text = "";
ddlgen.SelectedIndex = 0;
COLLEGE MANAGEMENT SYSTEM

43
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
txtdoj.Text = "";
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
}
}
}
private string GenerateId()
{
string Ids = "000";
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
cn.Open();
SqlCommand cmd1 = new SqlCommand("Select * from facultydetail Where facultyid= '" + txtfid1.Text +"' ",
cn);
SqlDataReader dr1 = cmd1.ExecuteReader();
if (dr1.HasRows)
{
Ids = "exist";
}
cn.Close();
cmd1.Dispose();
dr1.Dispose();
return Ids;
}
}


INSERVICE AND LEAVING FACULTY DETAILS.ASPX.CS

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class LearingFacultyDetail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lblFid.Visible = false;
lblStatus.Visible = false;
}
protected void btnfr_Click(object sender, EventArgs e)
{
if (txtfidr1.Text == "" || ddlfr.SelectedValue == "Select")
{
if (txtfidr1.Text == "")
lblFid.Visible = true;
COLLEGE MANAGEMENT SYSTEM

44
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
if (ddlfr.SelectedValue == "Select")
lblStatus.Visible = true;
}
else
{
try
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
con.Open();
SqlCommand cmd = new SqlCommand("update facultydetail set statusfacult='" + ddlfr.SelectedValue +
"',doj='" + txtfdoj.Text.Trim().ToUpper() + "',dol='" + txtfdol.Text.Trim().ToUpper() + "' where facultyid='" +
txtfidr1.Text.Trim().ToUpper() + "'", con);
cmd.ExecuteNonQuery();
con.Close();
lblmsg.Visible = true;
lblmsg.Text = "Data is successfully stored...";
txtfidr1.Text = "";
txtfnr.Text = "";
txtfdoj.Text = "";
txtfdol.Text = "";
ddlfr.SelectedIndex = 0;
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
}
}
}
protected void btnres7_Click(object sender, EventArgs e)
{
txtfidr1.Text = "";
txtfnr.Text = "";
txtfdoj.Text = "";
txtfdol.Text = "";
ddlfr.SelectedIndex = 0;
}
protected void txtfidr1_TextChanged(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
SqlCommand cmd = new SqlCommand();
SqlDataReader dr;
cn.Open();
cmd.Connection = cn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "Select * From facultydetail where facultyId='" + txtfidr1.Text + "'";
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
dr.Read();
txtfnr.Text = dr["facultyname"].ToString();
txtfdoj.Text = dr["doj"].ToString();
//ddlfr.SelectedValue = dr["statusfacult"].ToString();
}
cn.Dispose();
COLLEGE MANAGEMENT SYSTEM

45
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
cmd.Dispose();
dr.Dispose();
}
}



SALARY DEATIL.ASPX.CS

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class SalaryDetail : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lblFid.Visible = false;
lblSal.Visible = false;
}
protected void btnsdsub_Click(object sender, EventArgs e)
{
if (txtsdfid1.Text == "" || txtsdsal.Text == "")
{
if (txtsdfid1.Text == "")
lblFid.Visible = true;
if (txtsdsal.Text == "")
lblSal.Visible = true;
}
else
{
try
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
con.Open();
SqlCommand cmd = new SqlCommand("update facultydetail set post='" + txtsdpo.Text + "', salary='" +
txtsdsal.Text + "', gross='" + txtGross.Text + "' where facultyid='" + txtsdfid1.Text + "'", con);
cmd.ExecuteNonQuery();
con.Close();
lblmsg.Visible = true;
lblmsg.Text = "Data is successfully stored...";
txtsdfid1.Text = "";
txtsdfn.Text = "";
txtsdpo.Text = "";
txtsdsal.Text = "";
txtGross.Text = "";
COLLEGE MANAGEMENT SYSTEM

46
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
}
}
}
protected void txtsdfid1_TextChanged(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
SqlCommand cmd = new SqlCommand();
SqlDataReader dr;
cn.Open();
cmd.Connection = cn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "Select * From facultydetail where facultyId='" + txtsdfid1.Text + "'";
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
dr.Read();
txtsdfn.Text = dr["facultyname"].ToString();
txtsdpo.Text = dr["post"].ToString();
}
cn.Dispose();
cmd.Dispose();
dr.Dispose();
}
protected void btncancel_Click(object sender, EventArgs e)
{
txtsdfid1.Text = "";
txtsdfn.Text = "";
txtsdpo.Text = "";
txtsdsal.Text = "";
txtGross.Text = "";
}
protected void txtsdsal_TextChanged(object sender, EventArgs e)
{
int val = Convert.ToInt32(txtsdsal.Text);
float total,hra=.2f,da=.15f;
total = val + (hra * val) + (da * val);
txtGross.Text = total.ToString();
}
}





EDIT THE INFORMATION.ASPX.CS

using System;
using System.Collections;
using System.Data;
using System.Linq;
COLLEGE MANAGEMENT SYSTEM

47
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using System.Configuration;
using System.Text;

public partial class EditInformation : System.Web.UI.Page
{

protected void grdData_RowDataBound(object sender, GridViewRowEventArgs e)
{
if (e.Row.RowType == DataControlRowType.DataRow)
{
foreach (DataControlField dcf in grdData.Columns)
{
if (dcf.ToString().Trim() == "CommandField")
{
if (((CommandField)dcf).ShowDeleteButton == true)
{
e.Row.Cells[grdData.Columns.IndexOf(dcf)].Attributes
.Add("onclick", "return confirm(\"Are You sure to delete?\")");
}
}
}
}
}
protected void btns1_Click(object sender, EventArgs e)
{
string WhereSql = " where facultyid!='#23423' ";
if (txtufid.Text != "")
{
WhereSql += " And facultyid like '%" + txtufid.Text + "%' ";
SqlBachelor.SelectCommand = "SELECT * FROM facultydetail" +
WhereSql;
SqlBachelor.DataBind();
grdData.DataBind();
grdData.Visible = true;
}
}
}




COURSE WISE FEE DETAILS.ASPX.CS

using System;
using System.Collections.Generic;
using System.Linq;
COLLEGE MANAGEMENT SYSTEM

48
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class FeeDetails : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void btnfdshow_Click(object sender, EventArgs e)
{
grdData.Visible = true;
}
}



HOSTEL FEE.ASPX.CS


using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class HostelFee : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void hfsearch_Click(object sender, EventArgs e)
{
grdData.Visible = true;
}
}








MODE OF FEE PAYMENT.ASPX.CS

using System;
using System.Data;
using System.Configuration;
using System.Web;
using System.Web.Security;
COLLEGE MANAGEMENT SYSTEM

49
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
using System.Data.SqlClient;

public partial class ModeofFeePayment : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
lblAmt.Visible = false;
lblEno.Visible = false;
lblPayM.Visible = false;
}
protected void txtmopsid_TextChanged(object sender, EventArgs e)
{
SqlConnection cn = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
SqlCommand cmd = new SqlCommand();
SqlDataReader dr;
cn.Open();
cmd.Connection = cn;
cmd.CommandType = CommandType.Text;
cmd.CommandText = "Select * From admission where enrollno='" + txtmopsid.Text + "'";
dr = cmd.ExecuteReader();
if (dr.HasRows)
{
dr.Read();
txtmopsn.Text = dr["sname"].ToString();
ddlmopc.SelectedValue = dr["course"].ToString();
}
cn.Dispose();
cmd.Dispose();
dr.Dispose();
}
protected void btnfp_Click(object sender, EventArgs e)
{
if (txtmopsid.Text == "" || txtfpamount.Text == "" || ddlpm.SelectedValue == "Select")
{
if (txtmopsid.Text == "")
lblEno.Visible = true;
if (txtfpamount.Text == "")
lblAmt.Visible = true;
if (ddlpm.SelectedValue == "Select")
lblPayM.Visible = true;
}
else
{
try
{
SqlConnection con = new
SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
con.Open();
SqlCommand cmd = new SqlCommand("update admission set paymode='" + ddlpm.SelectedValue + "',
amount='" + txtfpamount.Text + "' where enrollno='" + txtmopsid.Text + "'", con);
cmd.ExecuteNonQuery();
COLLEGE MANAGEMENT SYSTEM

50
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
con.Close();
lblmsg.Visible = true;
lblmsg.Text = "Data is successfully stored...";
txtfpamount.Text = "";
txtmopsid.Text = "";
txtmopsn.Text = "";
ddlpm.SelectedIndex = 0;
ddlmopc.SelectedIndex = 0;
}
catch (Exception ex)
{
Response.Write(ex.Message.ToString());
}
}
}
protected void btnfpres_Click(object sender, EventArgs e)
{
txtfpamount.Text = "";
txtmopsid.Text = "";
txtmopsn.Text = "";
ddlpm.SelectedIndex = 0;
ddlmopc.SelectedIndex = 0;
}
}



FEE PAY SEARCH.ASPX.CS

using System;
using System.Collections;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;
using System.Data.SqlClient;
using System.Configuration;
using System.Text;

public partial class FeepaySearch : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
GridView2.Visible = false;
}
protected void btnfpse_Click(object sender, EventArgs e)
{
SqlConnection con = new SqlConnection(ConfigurationManager.ConnectionStrings["InvConn"].ToString());
con.Open();
COLLEGE MANAGEMENT SYSTEM

51
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
if (txtfps.Text != "")
{
string WhereSql = " where enrollno !='#23423' ";
WhereSql += " And enrollno like '%" + txtfps.Text + "%' ";
SqlDataSource1.SelectCommand = "SELECT * from admission" +
WhereSql;
SqlDataSource1.DataBind();
GridView2.DataBind();
GridView2.Visible = true;
}
txtfps.Text = "";
}
}



SEMINAR HALL.ASPX.CS

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class SeminalHall : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void hfsearch_Click(object sender, EventArgs e)
{
grdData.Visible = true;
}
}








CLASS ROOM.ASPX.CS

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
COLLEGE MANAGEMENT SYSTEM

52
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
using System.Web.UI.WebControls;

public partial class ClassRoom : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{

}
protected void hfsearch_Click(object sender, EventArgs e)
{
grdData.Visible = true;
}
}


































10. TESTING

Testing is t he process of det ecti ng errors. Testi ng performs a very criti cal rol e
for qualit y assurance and for ensuring t he reli abilit y of soft ware. The results of
testi ng are used l ater on during maint enance also.
COLLEGE MANAGEMENT SYSTEM

53
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

Testing Objecti ves:
The main objecti ve of t esti ng is to uncover a host of errors, systemat icall y and
with minimum effort and time. St ating formall y, we can say,
Testing i s a process of executi ng a program with t he i nt ent of finding an
error.
A successful test i s one that uncovers an as yet undiscovered error.
A good t est case is one that has a hi gh probabilit y of fi nding error, if it
exists.
The t ests are inadequat e to det ect possibl y present errors.
The soft ware more or l ess confirms t o the qualit y and reli abl e standards.

TESTING PROCESS







Levels of testing Test Plan Test Procedures
Test Report
Test Case Execution
Test Case
Specification
Test Case Analysis
Is error
uncovered?
Is Error
Uncovered?
COLLEGE MANAGEMENT SYSTEM

54
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
T TE ES ST TS S C CO ON ND DU UC CT TE ED D O ON N T TH HE E S SY YS ST TE EM M

Testing
Phase
Objectives
Unit
Testing
The various functions within each program and the program
blocks are tested for proper working.
Module
Testing
A module is composed of various programs related to that
module. Module testing is done to check the module
functionality and interaction between units within a module
Integration
Testing
Integration testing is done to test the functionality and
interfacing between the modules.

























COLLEGE MANAGEMENT SYSTEM

55
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

11. CONCLUSION


Globalization and speedy and accurate information requirement has made the way for
automating the systems fully and no room is left for partially or manually automated systems.

This project has been designed keeping in mind to fulfill the enquires of the management
of the College like student registration, admission, HR detail enquiry. The system so developed
also fulfills the requirements of globalization and speedy information needs.

Since it has been designed exclusively as the part of A Level project, certain
complexities that are faced by real life generate have not been considered in this project. But
the enhancements in the project could be easily done without changing the current design and
programming structure.
















COLLEGE MANAGEMENT SYSTEM

56
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim

12. FUTURE SCOPE


The project can be used in the college after adding some more useful modules and functions.
The project has been designed in such a way that, its can further upgraded very easily. The
main advantage of this system its modularity. This system helps the management to manage to
internal as well as external work. It can also used to sentinel database of college, so that all the
details will be easily manageable. Well I and my team members have worked hard in order to
an improved website regarding the information about the various activities of college.
The enhancement of this project can be accomplished easily. That is, any new functional
capabilities can be added to the project by simply including the new module in the homepage.
Adaptation of this project to a new environment can also performed easily.


COLLEGE MANAGEMENT SYSTEM

57
Developed by:
Nidhi Gaur, Komal Chauchan, M.Tasim
13. BIBLIOGRAPHY


The following books were referred during the analysis and execution phase of the project:

1. Encyclopedia of Software Engineering, 2nd edition, John Wiley and Sons, inc. (SRS,ER -
Diagram,DFD,Feasibility Study,Testing)
2. Beginning ASP.NET 2.0 with C# By Chris Hart, John Kauffman, David Sussman, Chris Ullman
(Concept of the ASP, Page Directives information, Textbox server control, button server control,
Creating Bachelor page)

3. Microsoft SQL Server 2005 Complete Handbook by Richard Waymire(SQL commands,Working
of SQL,SQL Connection)




And There are some websites also which gave us very huge knowledge for our project:

1. www.w3school.com (Coding Help, Tools Uses Help,HTML Tags,CSS)
2. http://www.csharpcorner.com (Console input/output,Exception,Console class,Creating
String,Decision making)
3. http://www.codeproject.com/Articles/4468/Beginners-Introduction-to-ASP-NET ( Hepls in
creating ASP form)
4. http://www.dotnet-tricks.com/Tutorial/aspnetlist (Validation Help, Overview of ASP.NET)

You might also like