Вы находитесь на странице: 1из 69

Online college information

system
A MAJOR PROJECT SUBMITTED IN PARTIAL FULFILLMENT OF
THE REQUIREMENT FOR THE AWARD OF THE DEGREE

OF

BY

(ROLL NO.O71560510027)
(REGISTRATION NO. 071560510101027)

WEST BENGAL UNIVERSITY OF TECHNOLOGY


KOLKATA-700091, INDIA
April-2010
1
Online college information
system

2
Acknowledgement

I cordially thank to our project guide Mr. Arindam Dutta, our respected faculty
members Prof. Manojit Chattopadhyay, Prof. Sudipta Kundu who has
helped us in this project directly or indirectly. It would also be selfish on our part
if we do not thank other faculties who lend their thought, ideas and valuable
suggestion.

I am also grateful to our Pailan College of Management &


Technology and STG International Ltd. For their support by offering project
guide, project machine and environment to develop a complete and successful
project.

At last but not at least I want to thank our team members and Lab staffs of
our College for their kind Co-operation while working on this project.

Date:
(SUMIT MAITY)

3
TABLE OF CONTENT
Topics Page
1. College Overview 1
2. Introduction 2
3. Website Design 3
4. Objective 4
5. Problem Details 5
6. Project Category 6
7. Scope 6
8. Software Requirement Specifications 7&8
9. Hardware and Software Requirements 9 & 10
10. Analysis & Design 11 & 12
11. Project Resources 13
12. Time Estimation 14
13. Gnatt Chart Representation 15
14. Monitoring and Controlling 16
15. System Design 17
16. Program Structure 18-25
17. File Design 26-30
18. Project Analysis 31
19. Server Side Application 32-37
20. Client Side Application 38-43
21. Module 44
22. Coding 45-59
23. Testing 60 & 61
24. Maintenance 62
25. Future Scope 63
26. Conclusion 64
27. Bibliography 65

4
College overview

5
Introduction

With the fast changing technology, today an organization has become surprisingly
large and sophisticated operation. Technologies often have an important role to
play and are the key to success in competing with the world. Thus the working
approach of the people has changed a lot. Now a day’s time and money matters a
lot. So we need to fully automate our existing manual system, and thus comes the
concept of computerization. Online College Information System is one of them.
This includes various section of a college like Student profiles, profiles, Job Section
etc.

6
Website Design
A good website design must meet three needs. They are referred as AAA website
configuration.

Authentication- Verifying a User’s Identity.

Authorization- Specifying permissions for a user.

Accountability- Monitoring a User’s activities.

7
OBJECTIVE
The process of planning, designing and implementing computer system is called a
project. Online College Information System caters to student and Job Seeker
spread across the globe to find their suitable College for studies and get College
information living in a remote place. To maintain each and every information
related to the College. Online College Information System is developed to
computerize and thereby automate the entire everyday work process. The
demand of this type of system is growing day by day. It is built to cover all the
areas of college oriented data transaction. The system also aims at giving every
job Seeker user a store place where he/she can upload their Resume. It is
basically online based application and it is a database application developed using
SQL Server and front end using ASP .NET.

 To make the system fully user-friendly.

 To make the system fully scalable.

 To make the system fully front-end administrator.

8
Problem Details:-
This problem is designed in a manner such that it provides a common
platform for student to find their suitable College for studies. First the
visitors of the site will not to get registered to the online college
information system to use its facilities. Only those student and faculty have
own personal account where the user can share Student Forum, Recent
Notice and more college information. This system provides a platform
where any user can search and find their suitable College for studies and
online application for admition the college. The system also provides a
forum for each community where community members can post new
topics. Leaving all these, user can report abuse to the administrator about
any aspect of the system or about any user. If the administrator finds any
such wrong, admin can either give warning or delete the user’s account
forcefully.

9
Project Category:-
This project basically systems with online support and it is based on managing the
database of the online application, student, faculty, cources,recent notice,
Student Forum records. It is divided with two parts one is server part and the
other part is client part.So, the category of this project is online college
information system developed using ASP .NET with database that is SQL Server.

Scope:-
As we have mention earlier that the objective of the project is to cover-up the
loopholes exists in handling “Online College Information System”. The scope of
the project is to find out main issues we are covering in our project and to find
out main function of our project. The ‘Online College Information System’, we
have developed can connect student all over the world. Using our website one
can extend his worldwide network by sitting at home. It also provides an excellent
search facility which will be helping student to search their best college. Students
can share their thoughts & ideas by creating their community & using forums.

10
Software Requirment Specification:-
(Tools/Environment used)
Requirement specification is done in order to understand the problem the
software system is to solve. For large system that have many features and that
have many features and that need to perform many different tasks,
understanding the requirements of the system is a major task. The emphasis in
requirement analysis is on identifying what is needed from the system, not how
the system will achieve its goals. This task is complicated by the fact that there are
often at least two parties involved in software development a client and a
developer. The developer usually does not understand the issue involved in
software system. This is a communication gap, which has to be adequately bridge
requirement analysis.

11
Problem Analysis or Understanding

Requirement Specification

In the problem analysis, the analyst has to understand the problem and its
context. Such analysis typically requires a through understanding of the existing
system, part of which has to be automated. A clear understanding is needed of
the important data entities in the system, major centre where action is taken, the
purpose of the different action that are performed and the inputs and outputs.
This requires interacting with clients and end users, as well as studying the
existing manual procedures. With the analysis of the current system, the analyst
can understand the reason for automation and what affects the automated
system might have.

12
Hardware & Software Requirements:-

Software Specification

1. Front end ASP.NET

2. Backend SQL Server (2005)

3. Compiler ASP.Net compiler

Converted into

Intermediate code

4. Operating System Windows XP (S.P2)

13
Hardware Specification
1. Monitor SAMSUNG 17” color
Model - Sync Master 753s
Input – 12/6 volt
Output – 12/6 volt
2. Mouse SAMSUNG
Type – Optical Wheel Mouse
Points – Normal select
Button – Right handed normal
Select
Files & Folder – Double click to
Open an item (single click to select)
3. Keyboard INTEX
Name – standard 101/102 key
Type – QWERTY
Input language – English (U.S).
To turn off caps lock press
CAPS LOCK key
4. RAM 256 MB
5. Processor 2.7 GHz
6. Mother Board ASUS
7. Floppy drive SONY 3.25”
8. CD drive SAMSUNG 52X
9. Hard disk SEGATE 40G.B.

14
Analysis and Design
The proposed Online based system specifically designed for college where
various courses are running. With the fast changing technology, today college has
become surprisingly large and sophisticated operations. Technologies often have
an important role to play and are the key to success in competing with the world.
A need for the development of Web site is to success in competing with the
world. A need for the development of Web site is to help employee of that
college and also for students. By this system faculty can make an idea about
student’s various status like their academic details, their personal details, and
their academic performance and employee can check their own details and can
make report by just mouse clicking. The information of various courses can be
obtained by this system. I wish to obtain this online computer application to serve
as the online college information system for smooth running various operation.
There are three phase of feasibility study. They are:-

Behavioral Feasibility: It includes the training of the user staff on the


system. The data entries screen that is designed as much simple as possible and
the data entry job for user is depend upon user level. But the higher-level user
has to enter data in many forms like online application details, student details,
faculty details, recent notice, and student forum etc. Employee have different
category there is faculty and the other one is administrative employee. Training of
2 hours will be sufficient for low-level user. But here training of is required more
as much their user level is high.

Technical feasibility: Evaluating the hardware and supporting software


determine it. It provides reliable security measures, which protect the data and
the package from accidental of deliberate threats that could cause unauthorized
modifications, disclosures of destruction of the data and protection of the
15
information system by the use of various data access permission that is given by
super level user that is in database mode and network mode and password. Every
level user has different data access permission that is given by super level user. It
has two parts one is server part and the other one is client part.

It provides input of data at anytime with the ability to update records in the
system if user has sufficient privilege given by administrator.

It provides effective means of producing hard copies of information of


student and faculty information is kept for future scope for this system.

It provides online application details, student details, faculty details, and


courses details.

It obtains greater speed and accuracy in handling data and generating


reports.

It provides records for each user who logged into the system and duration
this provides another type of security by this administrator can keep user working
status.

Economic feasibility: It is also known as cost/benefit analysis, which


determines to what extent a new system is cost effective. Undoubtedly this
system is cost effective because new proposed system is required fewer students
whose can produce huge output by using this system very quickly.

16
Project Resources:-

Privilege is the sole feature, which user’s accessibility to different modules of the
system.

Different privilege is assigned to different roles such as moderator, general user, and
college student.

Message passing using student forum is an important feature of the system.

Resume uploading is an additional feature given to the users.

Student forum creation is the feature, which facilitates user to create a discussion
platform to share new ideas or views.

Server side Requirements:

Operating System: Windows XP

Server: IIS (Internet Information Services)

Database: SQL Server

Client Side Requirements:

Browser: Internet Explorer 6/7

17
Time Estimation:-

SEQUENCE TASK NAME DURATIO DURATION START START END DATE END DATE
DATE DATE
(ESTIMATED) (ACTUAL) (ESTIMATED) (ACTUAL)
(ESTIMATE (ACTUAL)
D)

A Feasibility 2days 2days 15/02/2010 15/02/2010 16/02/2010 16/02/2010


Study

B Project 4days 4days 17/02/201 17/02/2010 20/02/2010 20/02/2010


0
Planning

C Requirement 2days 2days 21/02/2010 21/02/2010 22/02/2010 22/02/2010

Analysis

D Design 15days 15days 23/02/2010 23/02/2010 9/03/2010 9/03/2010

E Coding 20days 20days 10/03/2010 10/03/2010 30/03/2010 30/03/2010

F Unit Testing 2days 2days 31/03/2010 31/03/2010 1/04/2010 1/04/2010

G Integration & 7days 7days 2/04/2010 2/04/2010 10/04/2010 10/04/2010

System
Testing

18
GNATT CHART REPRESENTATION:-

Actual Time Slack Time

S
B
E

U C

N D
C

E
E

15/02/2010 17/02/2010 21/02/2010 23/02/2010 10/03/2010 31/03/2010 2/04/2010

DATE
19
Monitoring and Controlling:-
Monitoring and controlling is always an important issue throughout the
development of our project, Online College Information. The major
points upon which the monitoring and controlling of our project is
based on are as follows:

Periodically project review meeting among the team members has


taken place to ensure smooth execution of the project work.

A project schedule has been planned for every member of the


team. The schedule contains work given to each member and actual
work done.

20
System Design:-

The entity relationship data model is based on a perception of a real world that consists of a
collection of basic object, called ENTITIES & of RELETIONSHIPS among these objects. An Entity is
an object in real world that is distinguishable from other objects.

ENTITY

ELLIPSE

RELETIONSHIP SET

LINK ATTRIBUTE TO ENTITY


& ENTITY TO RELATIONSHIP
SET

MULTIVALUED ATTRIBUTE

DERIVED ATTRIBUTE

TOTAL PARTICIPATION

WEAK ENTITY SETS

21
Program Structure
(Entity Relationship Diagram)

cname
age duration
lname dob cid
fees

M M
fname Applicant view courses eligibility

School/college firstname
gendre fname
courses
age IS A
address lname capply
lname dob

1 M M 1
Employee/Faculty
fname Online job Apply for Student Applicant Apply for Admission cid
applicant
M M
Blood group Father’s name College/
gendre Job category university markstwe
Selected as Selected as
board Phone no
marksgra school
1 1

faculty student
board
M
1 1 session
password

Selected for register register dept


sid
cname
1 cid duration
1 eid 1 passwd
Dept_id
M 1
department Faculty_reg Stu_reg studies courses fees

Dept_name M designation M M
department
cid eligibility
salary cname
having
joining uses

1 1
1

forum notice department

forum Phone no Dept_no Dept_name


rnotice

email

22
Online College
Information
Applicant system

Context Level

23
Online_admsn

Apply for Apply Applicant


admission

Login
Selection Admin

Conform

Candidate

Inform

Admission

LEVEL 0

24
Onlinejob

Apply for Apply Candidate


job

Login
Selection Admin

Conform

Selected Candidate

Inform

Interview

Candidate for job

LEVEL 0
25
Online_admsn

Register/Apply

Apply Student Apply


system 1.0
Authentication

Login
Selection Admin
system 2.0

Authentication

Inform

Selected Applicant

Admission
System
3.0

Student details

Stu_reg

LEVEL 1
26
Onlinejob

Register/Apply

Apply for Faculty/Employee


job system Authentication
5.0

Login
Selection Admin
system 6.0

Authentication

Inform

Selected candidate
for interview

Take admission Interview Call for interview


Candidate
System
7.0

Selected for Job


Faculty Profile
emp_reg 8.0

LEVEL 1
27
Faculty

Query
process 2.0

Student

Delete Submit
Forum 2.1
Admin Query/FAQ

Update Confirm

Notice/information Accept
Processing
2.2

Suggestion

LEVEL 2

28
course

Course
2.3

Update
Admin Notice 2.4
Student

Delete

Faculty

Profile 2.5
Faculty Student

Update

Delete
Admin

LEVEL2
29
File Design (Table structure):-
The name of the database is CIS. It consists 7 tables. They are online_admsn,
stu_reg, emp_reg, Recent_notice, suggbox, cources, and onlinejob.

Online application contains about application details:

Online_admsn

Attribute Name Data type Field Size Constraints

firstname Varchar 50

lname Varchar 50

fname Varchar 50

gender char

age Number 2

dob date

bloodgrp char 3

address Varchar 100

phone Varchar 15

capply Varchar 10

cid Varchar 8

markstwe Number 3

school Varchar 40

board Varchar 30

marksgra int 3

college/university Varchar 40

30
Student registration contains about student details

Stu_ Reg

Attribute Name Data type Field Size Constraints

sid int 10

passwd varchar 50

conpasswd varchar 50

name Varchar 50

father_name Varchar 50

gender char

age int 2

dob date

bloodgrp char 3

address Varchar 100

phoneno Varchar 15

session: Varchar 10

cid Varchar 8

cname Varchar 20

dept Varchar 20

31
Faculty Table contains about faculty details

Faculty/Employee Registration

Attribute Name Data type Field Size Constraints

eid Number 10

passwd Varchar 50

conpasswd Varchar 50

name Varchar 30

gender char

age Number 2

dob date

address Varchar 100

phone Varchar 15

email Varchar 40

designation Varchar 20

salary Number 20

joining date

department Varchar 20

32
Course Table contains about course details

Course

Attribute Name Data type Field Size Constraints

cid Number 10

cname Varchar 20

duration/year Number 2

fees/semester Number 10,2

eligibility Varchar 20

Carrier Table contains about Job details

onlinejob

Attribute Name Data type Field Size Constraints

fname Varchar 30

lname Varchar 50

sex char

age Number 2

dob date

33
Student Forum Table contains about Comments details

Stu_Forum

Attribute Name Data type Field Size Constraints

forum Varchar 500

Email ID Varchar 50

phone _no Number 10

Recent Notice Table contains about Current details information

Recent Notice

Attribute Name Data type Field Size Constraints

rnotice Varchar 500

Suggestion Table Contain about Current suggestion about our college website

Suggbox

Attribute Name Data type Field Size Constraints

sugg Varchar 500

34
Project Analysis:-

The output design is the design of the form on which our desired output is
displayed; this has to do with the actual interface. It is considered first in
designing because it is the targeted output that would determine the input and
the method of processing that would ensure the output.

The system provides several reports to answer different queries and these reports
are online student application report, Student registration report. There is
another output design for this system is Student forum, applicant for job by
online.

The input form is input document to record information. Administrator receives


information various information through various types of form which is linked, to
a database. This form is online-based and designed using the manual form as a
prototype. The project is made user friendly as much as possible.

The system has several input forms it is mainly include in client side part where
user can interact, which include:

Online Application Form


Student Registration Form
Faculty Registration Form
Student Forum Form
Online Application for Job Form
The System has another part that is Server part, which is controlled by
administrator who gives various access permission to clients. The server side
contains various forms for starting processes, database connectivity, user
information etc.

35
Details about form design:-
Server Side Application:-
It is under main form. Through this we can connect to our database not to the
system. We have to enter Database using Connection String.

Online Application Form:

This form is main form in server side part. Through this form we can enter this
system. Various forms are under this form they are database login form, setting
form, student Registration form, Faculty form, online job application form etc.
Through this form administrator gives access permission to client. Administrator
can see the total number of connection logged in this application.

36
Online job form:

37
Stu_reg form:

38
Faculty/Employee form:

39
Suggestion box form:

Course form:

40
Forum form:

41
Client Side Application:-

First form of this project containing project name, date, format and the clients are
using the menu bar doing their job. Clients can get best information about college
before begging the studies. It includes various forms they are online application
form, student registration form, faculty registration form, online job application
form.

Online application information is used for accepting student master details that is
unchangeable details about student data. Checking validation for student
registration form.

Front Page:

42
This form contains information about online application:

This form contains information about student registration:

43
This form contains information about faculty/employee registration:

This form contains information about online application for job:

44
This form contains information about Forum:

This form contains information about suggestion related to our college:

45
This form contains information about student profile:

This form contains information about faculty/employee profile:

46
This form contains information about Various Course:

This form contains information about sitemap/location:

47
Module

ModApi contains various API functions which are used to get system information,
like machine name, system folder name, version etc. It also contains API function
to manage the GUI applications.

ModDatabase contains functions related to database operation like database


path, open database, close database, etc.

ModNetwork is used to establish the connection between server application and


client application. It contains various functions and procedures to manage the
network activity.

ModStart contains the main function that runs at first when the application starts.
This module also contains various and procedures for character, integer, string
that is validation checking.

48
CODING
/************ Online Application for Admission ****************/
using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class onlapp : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated
Security=True;Pooling=False");
protected void Page_Load(object sender, EventArgs e)
{

}
protected void Button2_Click(object sender, EventArgs e)
{
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
TextBox8.Text = "";
TextBox9.Text = "";
TextBox10.Text = "";
TextBox11.Text = "";
TextBox12.Text = "";
TextBox13.Text = "";
TextBox14.Text = "";

49
protected void DropDownList1_SelectedIndexChanged(object sender,
EventArgs e)
{
if (DropDownList1.SelectedItem.Text == "MCA")
{
TextBox9.Text = "MCA_56";
TextBox13.Visible = true;
TextBox14.Visible = true;
}
if (DropDownList1.SelectedItem.Text == "MBA")
{
TextBox9.Text = "MBA_57";
TextBox13.Visible = true;
TextBox13.Visible= true;
}
if (DropDownList1.SelectedItem.Text == "BCA")
{
TextBox9.Text = "BCA_58";
TextBox13.Enabled= false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;

}
if (DropDownList1.SelectedItem.Text == "BBA")
{
TextBox9.Text = "BBA_59";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "BHM")
{
TextBox9.Text = "BHM_60";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "PGDM")
{
TextBox9.Text = "PGDM_61";
TextBox13.Visible = true;
TextBox14.Visible = true;
}
if (DropDownList1.SelectedItem.Text == "BOPTM")
{
TextBox9.Text = "BOPTM_73";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "BTTM")

50
{
TextBox9.Text = "BTTM_62";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "BSHM")
{
TextBox9.Text = "BSHM_63";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "BMS")
{
TextBox9.Text = "BMS_64";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "BSCM")
{
TextBox9.Text = "BSCM_65";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "BIRM")
{
TextBox9.Text = "BIRM_66";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "hotel managment")
{
TextBox9.Text = "HM_67";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "Btec-CSE")
{
TextBox9.Text = "CSE_68";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}

51
if (DropDownList1.SelectedItem.Text == "Btec-IT")
{
TextBox9.Text = "IT_69";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "Btec-EC")
{
TextBox9.Text = "EC_70";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "Btec-EEE")
{
TextBox9.Text = "EEE_71";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
if (DropDownList1.SelectedItem.Text == "Btec-Aerospace")
{
TextBox9.Text = "AERO_72";
TextBox13.Enabled = false;
TextBox14.Enabled = false;
RequiredFieldValidator13.Enabled = false;
RequiredFieldValidator14.Enabled = false;
}
}

protected void Button1_Click(object sender, EventArgs e)


{
conn.Open();
SqlCommand cmd = new SqlCommand("insert into online_admsn
values('" + TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text +
"','" + DropDownList2.Text + "','" + TextBox4.Text + "','" + TextBox5.Text +
"','" + TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','"
+ DropDownList1.Text + "','" + TextBox9.Text + "','" + TextBox10.Text + "','"
+ TextBox11.Text + "','" + TextBox12.Text + "','" + TextBox13.Text + "','" +
TextBox14.Text + "')", conn);
cmd.ExecuteNonQuery();
conn.Close();

Label1.Text = "Your application have been submited/We will


contact you soon";

TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";

52
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
TextBox8.Text = "";
TextBox9.Text = "";
TextBox10.Text = "";
TextBox11.Text = "";
TextBox12.Text = "";
TextBox13.Text = "";
TextBox14.Text = "";
}

}
}

/**************Student Registration****************/
using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class stureg : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated
Security=True;Pooling=False");
protected void Page_Load(object sender, EventArgs e)
{

protected void DropDownList1_SelectedIndexChanged(object sender,


EventArgs e)
{
if (DropDownList1.SelectedItem.Text == "MCA")
{
TextBox11.Text = "MCA_56";
53
TextBox12.Text = "IT";
}
if (DropDownList1.SelectedItem.Text == "MBA")
{
TextBox11.Text = "MBA_57";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "BCA")
{
TextBox11.Text = "BCA_58";
TextBox12.Text = "IT";
}
if (DropDownList1.SelectedItem.Text == "BBA")
{
TextBox11.Text = "BBA_59";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "BHM")
{
TextBox11.Text = "BHM_60";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "PGDM")
{
TextBox11.Text = "PGDM_61";
TextBox12.Text = "IT/managment";
}
if (DropDownList1.SelectedItem.Text == "BOPTM")
{
TextBox11.Text = "BOPTM_73";
TextBox12.Text = "btec/managment";
}
if (DropDownList1.SelectedItem.Text == "BTTM")
{
TextBox11.Text = "BTTM_62";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "BSHM")
{
TextBox11.Text = "BSHM_63";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "BMS")
{
TextBox11.Text = "BMS_64";
TextBox12.Text = "IT";
}
if (DropDownList1.SelectedItem.Text == "BSCM")
{
TextBox11.Text = "BSCM_65";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "BIRM")
{
TextBox11.Text = "BIRM_66";

54
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "hotel managment")
{
TextBox11.Text = "HM_67";
TextBox12.Text = "managment";
}
if (DropDownList1.SelectedItem.Text == "Btec-CSE")
{
TextBox11.Text = "CSE_68";
TextBox12.Text = "IT";
}
if (DropDownList1.SelectedItem.Text == "Btec-IT")
{
TextBox11.Text = "IT_69";
TextBox12.Text = "IT/btec";
}
if (DropDownList1.SelectedItem.Text == "Btec-EC")
{
TextBox11.Text = "EC_70";
TextBox12.Text = "btec";
}
if (DropDownList1.SelectedItem.Text == "Btec-EEE")
{
TextBox11.Text = "EEE_71";
TextBox12.Text = "btec";
}
if (DropDownList1.SelectedItem.Text == "Btec-Aerospace")
{
TextBox11.Text = "AERO_72";
TextBox12.Text = "btec";
}
}

protected void Button2_Click(object sender, EventArgs e)


{
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
TextBox8.Text = "";
TextBox9.Text = "";
TextBox10.Text = "";
TextBox11.Text = "";
TextBox12.Text = "";

protected void Button1_Click(object sender, EventArgs e)


{
conn.Open();

55
SqlCommand cmd=new SqlCommand("insert into stu_reg values('" +
TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + TextBox5.Text + "','" + DropDownList3.Text+ "','" +
TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" +
TextBox9.Text + "','" + TextBox10.Text + "','" + DropDownList2.Text+ "','" +
DropDownList3.Text+ "','" + TextBox11.Text + "','" + TextBox12.Text +
"')",conn);
cmd.ExecuteNonQuery();
conn.Close();

Label1.Text="Registration Successfuly";

TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
TextBox8.Text = "";
TextBox9.Text = "";
TextBox10.Text = "";
TextBox11.Text = "";
TextBox12.Text = "";
}
}

/*****************Faculty/Employee Registration******************/

using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class empreg : System.Web.UI.Page
{
SqlConnection conn=new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated Security=True");
protected void Page_Load(object sender, EventArgs e)
{

56
}

protected void Button1_Click(object sender, EventArgs e)


{
conn.Open();
SqlCommand cmd = new SqlCommand("insert into emp_reg values('" +
TextBox1.Text + "','" + TextBox2.Text + "','" + TextBox3.Text + "','" +
TextBox4.Text + "','" + TextBox5.Text + "','" + DropDownList2.Text + "','" +
TextBox6.Text + "','" + TextBox7.Text + "','" + TextBox8.Text + "','" +
TextBox9.Text + "','" + TextBox10.Text + "','" + TextBox11.Text + "','" +
DropDownList1.Text + "')", conn);
cmd.ExecuteNonQuery();
conn.Close();

Label1.Text = "Registration Successfuly complet";

TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
TextBox5.Text = "";
TextBox6.Text = "";
TextBox7.Text = "";
TextBox8.Text = "";
TextBox9.Text = "";
TextBox10.Text = "";
TextBox11.Text = "";

}
}
}

/**************************Employee/Faculty Profile*************************/

using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{

57
public partial class emp_profile : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated Security=True");
protected void Page_Load(object sender, EventArgs e)
{
conn.Open();
SqlDataAdapter da = new SqlDataAdapter("select
eid,name,age,gender,address,phone,email,designation,salary,joining,depertment
from emp_reg", conn);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
conn.Close();
}
}
}

/*******************Student Profile*****************/

using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class stuprofile : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated
Security=True;Pooling=False");
protected void Page_Load(object sender, EventArgs e)
{
conn.Open();
SqlDataAdapter da = new SqlDataAdapter("select
sid,name,fname,gender,age,dob,bloodgrp,address,phone,session,cname,cid,dept
from stu_reg", conn);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
58
GridView1.DataBind();
conn.Close();
}
}
}
/******************Courses****************/
using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class cource : System.Web.UI.Page
{
SqlConnection conn = new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated
Security=True;Pooling=False");
protected void Page_Load(object sender, EventArgs e)
{

conn.Open();
SqlDataAdapter da = new SqlDataAdapter("select * from course",
conn);
DataSet ds = new DataSet();
da.Fill(ds);
if (!this.IsPostBack)
{
for (int i = 0; i < ds.Tables[0].Rows.Count; i++)
{

DropDownList1.Items.Add(Convert.ToString(ds.Tables[0].Rows[i]["cname"]));
}

}
conn.Close();
}

protected void ImageButton1_Click(object sender, ImageClickEventArgs


e)
{
conn.Open();
SqlDataAdapter da = new SqlDataAdapter("select * from course
where cname='" + DropDownList1.SelectedValue + "'", conn);
59
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
conn.Close();
}

protected void Button1_Click(object sender, EventArgs e)


{
conn.Open();
SqlDataAdapter da = new SqlDataAdapter("select * from
course", conn);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
conn.Close();
}
}
}

/********************Suggestion Box******************/
using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class suggbox : System.Web.UI.Page
{
SqlConnection conn=new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated Security=True");
protected void Page_Load(object sender, EventArgs e)
{

protected void ImageButton1_Click(object sender, ImageClickEventArgs


e)
{
conn.Open();

60
SqlCommand cmd = new SqlCommand("insert into suggbox values('" +
TextBox1.Text + "')", conn);
cmd.ExecuteNonQuery();
conn.Close();

TextBox1.Text = "";
Label1.Text="your suggession have been posted";

}
}
}

/******************Resume*******************/
using System;
using System.Collections;
using System.Configuration;
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.IO;

namespace CIS
{
public partial class resume : System.Web.UI.Page
{
SqlConnection conn=new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated Security=True");
protected void Page_Load(object sender, EventArgs e)
{

protected void Button1_Click(object sender, EventArgs e)


{
conn.Open();
SqlCommand cmd = new SqlCommand("insert into onlinejob values('"
+ TextBox1.Text + "','" + TextBox2.Text + "','" + DropDownList1.Text + "','"
+ TextBox3.Text + "','" + TextBox4.Text + "')", conn);
cmd.ExecuteNonQuery();
conn.Close();
Label2.Text="your details posted sucessfuly/We will contact
soon";

if (FileUpload1.PostedFile.FileName == "")
{

61
Label1.Text="Please Select a file";
}
else
{
string file =
Path.GetFileName(FileUpload1.PostedFile.FileName);
FileUpload1.SaveAs("C:\\Documents and Settings\\test\\My
Documents\\Visual Studio 2008\\Projects\\CIS\\CIS\\Uploded resume\\" + file);
Label1.Text="File upload successfully";
}

TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
}

protected void Button2_Click(object sender, EventArgs e)


{
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
TextBox4.Text = "";
}
}
}

/*****************Student Forum***************/
using System;
using System.Collections;
using System.Configuration;
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;

namespace CIS
{
public partial class stuforam : System.Web.UI.Page
{
SqlConnection conn=new SqlConnection(@"Data
Source=.\SQLEXPRESS;Initial Catalog=cis;Integrated
Security=True;Pooling=False");
protected void Page_Load(object sender, EventArgs e)
{
conn.Open();

62
SqlDataAdapter da = new SqlDataAdapter("select * from stu_forum",
conn);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
conn.Close();
}

protected void Button1_Click(object sender, EventArgs e)


{
conn.Open();
SqlCommand cmd = new SqlCommand("insert into stu_forum values('"
+ TextBox1.Text + "','"+TextBox2.Text+"','"+TextBox3.Text+"')", conn);
cmd.ExecuteNonQuery();
SqlDataAdapter da = new SqlDataAdapter("select * from stu_forum",
conn);
DataSet ds = new DataSet();
da.Fill(ds);
GridView1.DataSource = ds;
GridView1.DataBind();
conn.Close();

TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
}

protected void Button2_Click(object sender, EventArgs e)


{
TextBox1.Text = "";
TextBox2.Text = "";
TextBox3.Text = "";
}

}
}

63
TESTING
The testing phase involves the testing of the developed system using various kinds
of data. An elaborated testing of data is prepared and a system is tested using the
test data. While testing, errors are noted and corrections remade, the corrections
are also noted for future use.

SYSTEM TESTING

Testing is a set of activities that can be planned in advance and


conducted systematically. The proposed system is tested in parallel with the
software that consists of its own phases of analysis, implementation, testing and
maintenance. Following are the tests conducted on the system.

UNIT TESTING

During the implementation of the system each module of the system was tested
separately to uncover errors within its boundaries. User interface was used as a
guide in the process.

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.

It checks the functionality of each program with relation to other programs within
the same module. It then tests the overall functionality of each module.

64
INTEGRATION TESTING

Integration testing is a systematic technique for constructing the program


structure while conducting tests to uncover errors associated with interfacing.
The objective is to take unit-tested module and build a program structure that has
been dictated by design.

ACCEPTANCE TESTING

The software has been tested with the realistic data given by the client and
produced fruitful results. The client satisfying all the requirements specified by
them has also developed the software within the time limitation specified. A
demonstration has been given to the client and the end-user giving all the
operational features.

IMPLEMENTATION PHASE

The implementation is the final and important phase. It involves User training,
system testing and successful running of the developed system. The users test the
developed system when changes are made according to the needs. The testing
phase involves the testing of the developed system using various kinds of data. An
elaborate testing of data is prepared and system is tested using the tests data.

Implementation is the stage where theoretical design turned into a


working system. Implementation is planed carefully to propose system to avoid
unanticipated problems. Many preparations involved before and during the
implementation of proposed system. The system needed to be plugged in to the
organization’s network then it could be accessed from anywhere, after a user
logins into the portal. The tasks that had to be done to implement the system
were to create the database tables in the organization database domain. Then the
administrator was granted his role so that the system could be accessed.
The next phase in the implementation was to educate the system. A
demonstration of all the functions that can be carried out by the system was
given to examination department person, who will make extensive use of the
system.
65
MAINTENANCE
Maintenance is the enigma of system development. It holds the Software Industry
captive, typing up programming resources. Maintenance seems to account for
60% of all effort put into software. Organizations which are maintenance-bound
often found it difficult to avoid building a backlog application that may ultimately
paralyze the company.

Why the software should be maintained?


Most software has a longer operational life.

Many software systems were built under different technological


constraints than hold now.

Most software systems have had to migrate to new hardware & software
environments.

What could be implemented?


Most of the requirements as specified in the problem details were successfully
implemented.

What could not be implemented?

Provide a more secure system by encrypting the user-id,


password while saving in the database.

Though email address format checking is done Email


address Existence-checking is not done.

Inviting people who is not part of the system is not done.

66
FUTURE SCOPE
The ONLINE COLLEGE INFORMATION SYSTEM has tremendous
potential for the future enhancement & growth. Many more
excellent features can be added to the system by the use of new
technologies & hereby providing the user a lot of new facilities.
The scope of the project in future would be discussed on the basis
of two aspects.

Addition of new features:-


Some of the features that is acceptable here:

Connecting to other ‘Online college’ systems.

Provide more security by encrypting the user & password.

67
CONCLUSION

The System is supposed to posses the following features:


Very user-friendly.

Fully GUI based.

Runs efficiently on a cheap hardware and software platform.

Increase accuracy and dependability of the system.

Increase speed of processing / operation of the system.

In short, we can conclude that the software is very much user friendly and would
be easy to use for anybody with a meagre computer knowledge.

68
BIBLIOGRAPHY
We consulted the following site for our project work:

www.google.com

www.javascriptkid.com

www.syngress.com/solutions

www.hungryminds.com

www.wrox.com

The books from where we got help are as follows:

“Professional ASP.NET 2.0 “by Bill Evjen Scott Hanselman Farhan


Muhammad Srinivasa Sivakumar Devin Rader

“ASP.NET Database Programming” Hungry Minds, Inc. Publishing


Company Limited. By Jason Butler and Tony Caudill

69

Вам также может понравиться