Online College Information

Embed Size (px)

Citation preview

  • 8/3/2019 Online College Information

    1/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

  • 8/3/2019 Online College Information

    2/110

    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. College Ov erview 1

    2. Introduction 2

    3. Website Design 3

  • 8/3/2019 Online College Information

    3/110

    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

  • 8/3/2019 Online College Information

    4/110

    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

  • 8/3/2019 Online College Information

    5/110

    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

  • 8/3/2019 Online College Information

    6/110

    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

  • 8/3/2019 Online College Information

    7/110

    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

  • 8/3/2019 Online College Information

    8/110

    can understand the reason for automation and what affects the automated

    system might have.

    12

    Hardware & Software Requirements:-

    Software Specification

    1. Front end ASP.N ET

    2. Backend SQL Serve r (2005)

    3. Compiler ASP.Net compile r

    Conver ted into

    Intermediate code

    4. Operating System Windows XP (S.P2)

    13

    Hardware Specification

    1. Monitor S MSUNG 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)

  • 8/3/2019 Online College Information

    9/110

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

  • 8/3/2019 Online College Information

    10/110

    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.

  • 8/3/2019 Online College Information

    11/110

    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.

  • 8/3/2019 Online College Information

    12/110

    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)

  • 8/3/2019 Online College Information

    13/110

    (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

  • 8/3/2019 Online College Information

    14/110

    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

  • 8/3/2019 Online College Information

    15/110

    2/04/2010

    10/04/2010

    10/04/2010

    System

    Testing

    18

    GNATT CHART

    REPRESENTATION:-

    Actual Time Slack Time

    A

    S

    B

    E

    Q

    C

    U

    E

    N

    D

    C

    E

    E

    F

    G

    15/02/2010 17/02/2010 21/02/2010 23/02/2010 10/03/2010

    31/03/2010 2/04/2010

  • 8/3/2019 Online College Information

    16/110

    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

  • 8/3/2019 Online College Information

    17/110

    & 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

  • 8/3/2019 Online College Information

    18/110

    gendre

    courses

    age

    IS A

    address

    lname

    capply

    lname

    dob

    M 1

    1

    M

    Employee/Faculty

    Online job Apply for

    Student Applicant

    Apply for

    Admission

    cid

    fname

    applicant

    M

    M

    Blood group

    Fathers name

    College/

    markstwe

  • 8/3/2019 Online College Information

    19/110

    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

  • 8/3/2019 Online College Information

    20/110

    cid

    duration

    1

    eid

    1

    passwd

    Dept_id

    M 1

    department

    Faculty_reg

    Stu_reg

    studies

    courses

    fees

    Dept_name

    designation

    M

    M

    M

    department

    cid

    eligibility

    salary

    cname

    having

    uses

  • 8/3/2019 Online College Information

    21/110

    joining

    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

    Applicant

    Apply for

    admission

    Login

  • 8/3/2019 Online College Information

    22/110

    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

  • 8/3/2019 Online College Information

    23/110

    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

  • 8/3/2019 Online College Information

    24/110

    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

  • 8/3/2019 Online College Information

    25/110

    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

  • 8/3/2019 Online College Information

    26/110

    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

  • 8/3/2019 Online College Information

    27/110

    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

  • 8/3/2019 Online College Information

    28/110

    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

  • 8/3/2019 Online College Information

    29/110

    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:-

  • 8/3/2019 Online College Information

    30/110

    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

  • 8/3/2019 Online College Information

    31/110

    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

  • 8/3/2019 Online College Information

    32/110

    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

  • 8/3/2019 Online College Information

    33/110

    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:

  • 8/3/2019 Online College Information

    34/110

    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;

  • 8/3/2019 Online College Information

    35/110

    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.

  • 8/3/2019 Online College Information

    36/110

    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

  • 8/3/2019 Online College Information

    37/110

    e)

    {

    TextBox1.Text =

    ""

    ;

    TextBox2.Text =

    ""

    ;

    TextBox3.Text =

    ""

    ;

    TextBox4.Text =

    ""

    ;

    TextBox5.Text =

    ""

    ;

    TextBox6.Text =

    ""

    ;

    TextBox7.Text =

    ""

    ;

    TextBox8.Text =

    ""

    ;

  • 8/3/2019 Online College Information

    38/110

    TextBox9.Text =

    ""

    ;

    TextBox10.Text =

    ""

    ;

    TextBox11.Text =

    ""

    ;

    TextBox12.Text =

    ""

    ;

    TextBox13.Text =

    ""

    ;

    TextBox14.Text =

    ""

    ;

    }

    49

    protected

    void

    DropDownList1_SelectedIndexChanged(

    object

    sender,

  • 8/3/2019 Online College Information

    39/110

    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"

    ;

  • 8/3/2019 Online College Information

    40/110

    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

  • 8/3/2019 Online College Information

    41/110

    ;

    }

    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"

  • 8/3/2019 Online College Information

    42/110

    )

    {

    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"

    ;

  • 8/3/2019 Online College Information

    43/110

    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

  • 8/3/2019 Online College Information

    44/110

    ;

    }

    if

    (DropDownList1.SelectedItem.Text ==

    "BTTM"

    )

    50

    {

    TextBox9.Text =

    "BTTM_62"

    ;

    TextBox13.Enabled =

    false

    ;

    TextBox14.Enabled =

    false

    ;

    RequiredFieldValidator13.Enabled =

    false

    ;

    RequiredFieldValidator14.Enabled =

    false

    ;

    }

    if

  • 8/3/2019 Online College Information

    45/110

    (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 =

  • 8/3/2019 Online College Information

    46/110

    "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

    ;

  • 8/3/2019 Online College Information

    47/110

    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

  • 8/3/2019 Online College Information

    48/110

    ;

    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

    ;

    }

  • 8/3/2019 Online College Information

    49/110

    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"

  • 8/3/2019 Online College Information

    50/110

    )

    {

    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"

    ;

  • 8/3/2019 Online College Information

    51/110

    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

  • 8/3/2019 Online College Information

    52/110

    ;

    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 =

  • 8/3/2019 Online College Information

    53/110

    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 +

    "','"

  • 8/3/2019 Online College Information

    54/110

    + 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 +

  • 8/3/2019 Online College Information

    55/110

    "')"

    , 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 =

  • 8/3/2019 Online College Information

    56/110

    ""

    ;

    TextBox7.Text =

    ""

    ;

    TextBox8.Text =

    ""

    ;

    TextBox9.Text =

    ""

    ;

    TextBox10.Text =

    ""

    ;

    TextBox11.Text =

    ""

    ;

    TextBox12.Text =

    ""

    ;

    TextBox13.Text =

    ""

    ;

    TextBox14.Text =

    ""

    ;

  • 8/3/2019 Online College Information

    57/110

    }

    }

    }

    /**************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;

  • 8/3/2019 Online College Information

    58/110

    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(

  • 8/3/2019 Online College Information

    59/110

    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"

  • 8/3/2019 Online College Information

    60/110

    ;

    }

    if

    (DropDownList1.SelectedItem.Text ==

    "MBA"

    )

    {

    TextBox11.Text =

    "MBA_57"

    ;

    TextBox12.Text =

    "managment"

    ;

    }

    if

    (DropDownList1.SelectedItem.Text ==

    "BCA"

    )

    {

    TextBox11.Text =

    "BCA_58"

    ;

    TextBox12.Text =

    "IT"

    ;

    }

  • 8/3/2019 Online College Information

    61/110

    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 ==

  • 8/3/2019 Online College Information

    62/110

    "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"

    )

  • 8/3/2019 Online College Information

    63/110

    {

    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 =

  • 8/3/2019 Online College Information

    64/110

    "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"

    ;

  • 8/3/2019 Online College Information

    65/110

    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"

    ;

  • 8/3/2019 Online College Information

    66/110

    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"

  • 8/3/2019 Online College Information

    67/110

    ;

    }

    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"

    ;

    }

  • 8/3/2019 Online College Information

    68/110

    }

    protected

    void

    Button2_Click(

    object

    sender,

    EventArgs

    e)

    {

    TextBox1.Text =

    ""

    ;

    TextBox2.Text =

    ""

    ;

    TextBox3.Text =

    ""

    ;

    TextBox4.Text =

    ""

    ;

    TextBox5.Text =

    ""

    ;

    TextBox6.Text =

    ""

  • 8/3/2019 Online College Information

    69/110

    ;

    TextBox7.Text =

    ""

    ;

    TextBox8.Text =

    ""

    ;

    TextBox9.Text =

    ""

    ;

    TextBox10.Text =

    ""

    ;

    TextBox11.Text =

    ""

    ;

    TextBox12.Text =

    ""

    ;

    }

    protected

    void

    Button1_Click(

    object

    sender,

    EventArgs

  • 8/3/2019 Online College Information

    70/110

    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+

    "','"

    +

  • 8/3/2019 Online College Information

    71/110

    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"

    ;

  • 8/3/2019 Online College Information

    72/110

    TextBox1.Text =

    ""

    ;

    TextBox2.Text =

    ""

    ;

    TextBox3.Text =

    ""

    ;

    TextBox4.Text =

    ""

    ;

    TextBox5.Text =

    ""

    ;

    TextBox6.Text =

    ""

    ;

    TextBox7.Text =

    ""

    ;

    TextBox8.Text =

    ""

    ;

    TextBox9.Text =

    ""

  • 8/3/2019 Online College Information

    73/110

    ;

    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

  • 8/3/2019 Online College Information

    74/110

    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

  • 8/3/2019 Online College Information

    75/110

    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

  • 8/3/2019 Online College Information

    76/110

    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 +

    "','"

  • 8/3/2019 Online College Information

    77/110

    +

    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 =

  • 8/3/2019 Online College Information

    78/110

    ""

    ;

    TextBox5.Text =

    ""

    ;

    TextBox6.Text =

    ""

    ;

    TextBox7.Text =

    ""

    ;

    TextBox8.Text =

    ""

    ;

    TextBox9.Text =

    ""

    ;

    TextBox10.Text =

    ""

    ;

    TextBox11.Text =

    ""

    ;

    }

    }

    }

  • 8/3/2019 Online College Information

    79/110

    /**************************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

  • 8/3/2019 Online College Information

    80/110

    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,

  • 8/3/2019 Online College Information

    81/110

    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*****************/

  • 8/3/2019 Online College Information

    82/110

    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;

  • 8/3/2019 Online College Information

    83/110

    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)

  • 8/3/2019 Online College Information

    84/110

    {

    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****************/

  • 8/3/2019 Online College Information

    85/110

    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;

  • 8/3/2019 Online College Information

    86/110

    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)

  • 8/3/2019 Online College Information

    87/110

    {

    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++)

    {

  • 8/3/2019 Online College Information

    88/110

    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 +

  • 8/3/2019 Online College Information

    89/110

    "'"

    , 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

  • 8/3/2019 Online College Information

    90/110

    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;

  • 8/3/2019 Online College Information

    91/110

    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.

  • 8/3/2019 Online College Information

    92/110

    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)

  • 8/3/2019 Online College Information

    93/110

    {

    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*******************/

  • 8/3/2019 Online College Information

    94/110

    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;

  • 8/3/2019 Online College Information

    95/110

    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

  • 8/3/2019 Online College Information

    96/110

    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 +

    "','"

  • 8/3/2019 Online College Information

    97/110

    + 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);

  • 8/3/2019 Online College Information

    98/110

    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,

  • 8/3/2019 Online College Information

    99/110

    EventArgs

    e)

    {

    TextBox1.Text =

    ""

    ;

    TextBox2.Text =

    ""

    ;

    TextBox3.Text =

    ""

    ;

    TextBox4.Text =

    ""

    ;

    }

    }

    }

    /*****************Stude nt Forum***************/

    using

    System;

    using

    System.Collections;

    using

    System.Configuration;

    using

  • 8/3/2019 Online College Information

    100/110

    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

  • 8/3/2019 Online College Information

    101/110

    : 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

  • 8/3/2019 Online College Information

    102/110

    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 =

  • 8/3/2019 Online College Information

    103/110

    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);

  • 8/3/2019 Online College Information

    104/110

    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 =

    ""

  • 8/3/2019 Online College Information

    105/110

    ;

    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

  • 8/3/2019 Online College Information

    106/110

    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

  • 8/3/2019 Online College Information

    107/110

    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.

  • 8/3/2019 Online College Information

    108/110

    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.

  • 8/3/2019 Online College Information

    109/110

    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

  • 8/3/2019 Online College Information

    110/110

    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