Sunteți pe pagina 1din 110

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 Manojit Chattopadhyay

Sudipta Kundu members Prof. , Prof. 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. Pailan College of Management & I am also grateful to our Technology STG International Ltd and . For their support by offering project guide, project machine and environme nt 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 2 3

1. College Ov erview 2. Introduction 3. Website Design

4. Objective 5. Problem Details 6. Project Category 7. Scope 6

4 5 6

8. Software Requirement Specifications 9. Hardware and Software Requirements 10. Analysis & Design 11. Project Resources 12. Time Estimation 13. Gnatt Chart Representation 14. Monitoring and Controlling 15. System Design 16. Program Structure 17. File Design 18. Project Analysis 19. Server Side Application 20. Client Side Application 21. Module 22. Coding 23. Testing 24. Maintenance 25. Future Scope 26. Conclusion 27. Bibliography 4 44 45-59 60 & 61 62 63 64 65 26-30 31 32-37 38-43 17 18-25 11 & 12 13 14 15 16

7&8 9 & 10

College overview 5

Introduction With the fast changing technology, today an organization has become surprisingly large and sophisticated operation. Technologies often have an impor tant 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 days 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 Syste m is one of them. This inc ludes 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 Users Identity. Authorization- Specifying pe rmissions for a user. Accountability- Monitoring a Users activities. 7

O BJECTIVE The process of planning, designing and implementing computer system is called a project. Online Colle ge Information System caters to student and Job Seeker spread across the globe to find their suitable Colle ge for studies and get College information living in a remote place. To maintain each and every information related to the College. Online Colle ge Information System is de veloped 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 e nd using ASP .NET. To make the system fully user-friendly. To make the system fully scalable. To make the system fully front-e nd administrator. 8

Problem Details:This proble m is designe d in a ma nne r suc h tha t it provides a c ommon pla tfor m for student to find their suitable Colle ge for st udies. First the visitors of the site will not t o ge t re gister ed to the online colle ge information sys tem to use its fa cilities. Only t hose st ude nt a nd fac ulty have own pe rsonal ac count w here t he use r c an share Student For um, R ec ent

Not ic e and more c olle ge infor ma tion. This sys tem pr ovides a pla tform w he re any user can se arc h and find their suita ble College for studies and online application for a dmitio n the c ollege . The syste m also pr ovide s a forum for e ach c ommunity whe re community members can post ne w topic s. Leaving a ll these , user c an re por t a buse to the administrato r a bout any a spe ct of the system or about a ny user . If the administrato r finds a ny such w rong, admin ca n either give w arning o r delete the use rs ac count force fully. 9

Project Category:This project basically systems w ith online support and it is base d on managing the database of the online application, student, faculty, cources,recent notice, Student Forum records. It is divide d 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 deve loped using ASP .NET with database that is SQL Serve r. 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 Colle ge Information System, we have developed can connect student all over the world. Using our we bsite one can extend his worldwide ne twork by sitting at home. It also provides an excellent search facility which will be helping student to searc h 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 require ment 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 involve d in software system. This is a communication gap, which has to be adequately bridge require ment 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 differe nt action that are performed and the inputs and outputs. This requires interacting with clients and end users, as we ll 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 1. Front end 2. Backend 3. Compiler Conver ted into Intermediate code 4. Operating System 13 Windows XP (S.P2) Specification ASP.N ET SQL Serve r (2005) ASP.Net compile r

Hardware 1. Monitor Model - Sync Master 753s Input 12/6 volt Output 12/6 volt 2. Mouse Type Optical Wheel Mouse Points Normal select Button Right handed normal Select Files & Folder Double click to Open an item (single click to select)

Specification S MSUNG 17 color

SAMSUNG

3. Keyboard Name standard 101/102 key Type QWERTY Input language English (U.S). To turn off caps lock press CAPS LOCK key 4. RAM 5. Processor 6. Mother Board 7. Floppy drive 8. CD drive 9. Hard disk 14

INTEX

256 MB 2.7 GHz ASUS SONY 3.25 SAMSUNG 52X SEGATE 40G.B.

Analysis and Design The proposed Online based system specific ally designed for college where various courses are running. With the fast changing technology, today college has become surprisingly large and sophisticate d 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 de velopment of Web site is to help employee of that college and also for students. By this system faculty can make an idea about students various status like their academic details, their personal details, and their academic performance and e mployee can check their own details and can make report by just mouse clicking. The information of various courses can be obtaine d by this system. I wish to obtain this online compute r application to se rve

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 entr ies 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, rece nt 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 re quired 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 delibe rate 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 leve l 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 use r 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 syste m.

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 eac h 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 ne w proposed system is required fewer students whose can produce huge output by using this system very quic kly. 16

Project Resources:Privilege is the sole feature, which users 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 Se rver 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 Fea sibility 2days 2days 15/02/2010 15/02/2010 16/02/2010 16/02/2010 Study 17/02/201 B Project 4days 4days 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 A S B E Q C U E N D C E E F G 15/02/2010 31/03/2010 17/02/2010 2/04/2010 21/02/2010 23/02/2010 10/03/2010 Slack Time

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 cid lname dob fees M M fname Applicant view courses eligibility School/college firstname fname

gendre courses age IS A address lname capply lname dob M1 1 M Employee/Faculty Online job Apply for Student Applicant Apply for Admission cid fname applicant M M Blood group Fathers name College/ markstwe

gendre university Job category Selected as Selected as board Phone no marksgra school 1 1 faculty student board M 1 session 1 password dept Selected for register register sid cname 1

cid duration 1 eid 1 passwd Dept_id M1 department Faculty_reg Stu_reg studies courses fees Dept_name designation M M M department cid eligibility salary cname having uses

joining 11 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 Applicant Apply for admission Login

Selection Admin Conform Candidate Inform Admission LEVEL 0 24

Onlinejob Apply Candidate Apply for 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 Faculty/Employee Apply for job system Authentication 5.0 Login

Selection Admin system 6.0 Authentication Inform Selected candidate for interview Take admission Call for interview 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 Query/FAQ Admin

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 de tails 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 Forum Stu_ Attribute Name Data type Field Size Constraints forum Varchar 50 0 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 desire d output is displaye d; this has to do with the actual interface. It is considered first in designing because it is the targete d output that would determine the input and the method of processing that would e nsure the output. The system provides several reports to answer different queries and these reports are online student application report, Student registration re port. The re 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 -base d 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 par t 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 the y are database login form, setting form, student Registration form, Faculty form, online job application form e tc. Through this form administrator gives access permission to clie nt. 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 de tails that is unc hangeable details about student data. Checking validation for stude nt registration form. Fr ont 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 betwee n 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 whe n the application starts. This module also contains various and procedures for character, integer, string that is validation c hecking. 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(); } } } /*******************Stude nt 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 = "" ; } } } /*****************Stude nt 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 deve loped 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 correc tions 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 paralle l 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 separate ly 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 func tionality 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 tec hnique for constr ucting 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 bee n 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

organizations 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 syste m. A demonstration of all the functions that can be carried out by the system was given to examination department person, who will make exte nsive 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 ne w hardware & software environments. What could be implemented? Most of the requirements as specifie d in the problem de tails 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 fe at ure s that is ac ce ptable here : Connecting to othe r 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 har dware and software platform. Increase accuracy and depe ndability of the system. Increase speed of processing / ope ration 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 SP.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

S-ar putea să vă placă și