+ All Categories
Home > Documents > Index Wise

Index Wise

Date post: 06-Apr-2018
Category:
Upload: paramjit-singh-sahota
View: 215 times
Download: 0 times
Share this document with a friend

of 52

Transcript
  • 8/2/2019 Index Wise

    1/52

    32

    College Management System

    PROJECT DEFINITION

    College Management System. is merely a project to provide theorganization about its Students daily report its progress report ,registration,examination etc . An organization must keep all the record of student detail

    up to date so that through it we can retrieve it any time and see the any typeof information.

    It maintains the databases for the Students basic data, Students

    registration data, attendance, staff registration, different types of report.

    Scope of Project

    This project is on College Management System it is an application where a

    organization keep all the records about his college basic information.

    College Management System is merely a project for the institute to keep

    all the records that are used in the organization for daily requirements in campus

    area. The owner keeps the record of the students registration, Staff member,

    attendance, etc.

    The implementation of this project will helps the institute to easily do their

    work. It provides it to easily retrieve its record that keeps the record about its

    Students & its Staff member. It can also stores all the details of the student

    general details, attendance, role rights.

    The main work of the project is to keep up to date information about its

    Students record, total courses that he want to teach the student, attendance

    detail and other type of report.

    System Perspective

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    2/52

    32

    College Management System

    At present institute does not have any computerized Educational Institute

    When we visit their Institute we observe that they are use their computers for

    only teaching their inquiry, admission processes are done by manually.

    The Functions of existing system likes:

    Manually write the registration of student

    Event alert is on paper.

    Maintain the registration of student

    To add any new record is very difficult

    Manually update the registration is too difficult

    Take student attendance is very difficulty

    All the records are maintained in journals, register and ledgermanually.

    In new system all the drawback of manually system was removed.

    All work on computer base than no used raw material

    To counting the records are very easy and faster.

    Time consuming to get information.

    Easy time table generate.

    We easily enter new records and easily update the records.

    Time saving is important factor is the main aim to develop a Module.

    System Feature;

    All the work can be done so easily cause all the process of

    previous system are removed.

    Totally manual or paper works are removed so i t saves

    time.

    Record query ing l ike inser t, update, delete a re done

    quickly.

    Any time you can find any record easily.

    Easy to generate report by specific criteria.

    Time saving is the main important feature of our system.

    Counting modify records are very easy.

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    3/52

    32

    College Management System

    Attendance detail gathered by week or month or all.

    Design and Implementation Constraints:-

    We use Microsoft ASP.NET as a front end designing tools with 3.5.net

    Framework for designing a web application.

    For developed database or to store our data we use the MY SQL as aback end to manage the student data.

    Implementation is the process of having personnel check out the put

    new equipments into use, train users, install the new application, and

    construct any files of data needed to use it.

    Once installed, the applications are often used for many years.However,

    both the organization will be undoubtedly had to be maintained;

    modifications and changes will be made to the software, files, or

    procedures to meet emerging user requirements. Since organization

    systems and the business environment undergo continual change, the

    implementation is as ongoing process

    External Interface

    Software Interface

    An OS is capable which supports latest or higher dot net version like(.net framework v3.5 & MYSQL) on client computer.

    Hardware Interface

    A hardware that is capable to support the latest .net framework andMYSQL.tha hardware configuration is match with minimum system requirementthat required for running .net and MYSQL.

    User Interface

    All pages of the system are following a consistent theme and clearstructure. To display information to give a clear structure that easy to

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    4/52

  • 8/2/2019 Index Wise

    5/52

    32

    College Management System

    He usage of reliable database like Microsoft Access along with stringentdesign and coding standards followed guarantees accuracy, reliability, and easeof data access and data security.

    2. Financial and Economic Feasibility:

    The cost involved in designing and developing a system should be a goodinvestment for the organization. The financial benefits must equal or exceedthe costs. The financial and economic issues raised during preliminaryinvestigation are answered below

    The cost of conducting a full system investigation is justified since theMIS development is in-house.

    The cost of Hardware/Software for the application already exists.

    His use of existing software and developing a new application using itonly increases the gain.

    Benefits occur through quicker solving of queries resulting in timelysub missing of reports. Quicker submission helps in steady flow ofinformation and better decisions.

    3. Operational Feasibility:

    Any project proposed can be beneficial only if it satisfies theorganization requirements. In any mature MIS set-up, a new system notonly needs to be robust but also needs to communicate & work in tandemwith the other existing support systems. Following are some pointsunderlining the operational feasibility of the system.

    The system was well supported by the management with the MISmanager taking personal interest in the system development process.

    The users still initially repressive started giving co- operation todevelopment team once the initial doubts were cleared. The current system through functional in practice required a lot of

    trimming and streamlining.

    The clear advantage of using better software prevented useropposition if any from troublemaking the development process.

    The users were involved with the system right from the beginningand were always in touch with the latest developments.

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    6/52

    32

    College Management System

    The proposed system makes a best effort to satisfy the requirements of the user,keeping in mind certain infrastructure constraints.

    User Requirement

    The system is desktop application so that the admin can easily maintain

    the all record of the staff, student, faculty. And it should provide facility to

    generate different kind of so admin can find any record for ex. Attendance detail

    between two specific dates etc. it will also provide authentication by assigningrole to staff & faculty is different.

    Requirement analysis can be termed as the study of the actual needs of

    the organization or the entity in going ahead with the development of the

    proposed system/software. It defines the objective that why the organization

    should invest its resources (time, money and manpower) in the development of

    that software. What help the project will provide to the company? The company

    can have a short-term goal (meeting an urgent need) or a long-term goal

    (gaining a competitive edge, or gaining first-mover benefits).

    Just because a project is feasible in all aspects does not mean that the company

    will go ahead with the project development. A project may be feasible in all

    aspects, but it may not be of any worth to the company. Hence, in order to

    decide whether to go ahead with the project or not, the company does a

    requirement analysis to determine the COST v/s

    System should be generating different report like student report, staffsreport, attendance, branches and subject report.

    All the details of student and staff & faculty are maintains, so it is easyto understand find any type of record or information

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    7/52

    32

    College Management System

    .

    All the data, information etc are input and you get output as perrequirement.

    When sem. or year complete then the entire student will be transfer by

    selecting them.

    Function Requirement

    Performance Requirement :-The proposed system that we are going to develop will be used as the

    Chief performance system which interact users and developer. Therefore, it isexpected that the database would perform functionally all the requirements thatare specified by the administrator.

    Portability Requirement :-

    The system should develop in any platform or in any language that willbe easily operate in any hardware or software platform like operating system isLinux, Microsoft, Apple Max OS etc.

    Safety Requirement :-

    We are going to develop a secured system for the user. There are differentcategories of users namely administrator, staff User, etc., Depending upon thecategory of user the access rights are decided. It means if the user is anAdministrator then he can be able to modify the data, delete, append etc... Allother users only have the rights to upload/changed the information.

    Also we provide the role rights to the every different type category.

    Timely Requirement :-The system will be timely so that it gives you the different time information

    that is useful in your organization activities. And it will help u to managestudent like the attendance detail of any student & you can know the howmany student is absent / present. And you can attendance of student speedily.

    Assumptions and Dependencies:-

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    8/52

    32

    College Management System

    We will make this application for the college so that they can manage theirstudent data, employee data, and student attendance data. And also generatedifferent kind of report so all the information related to the student, employee,etc staff member you can get by specific criteria.

    Operating Environment:-

    Hardware and software specification is required for smoothly running of college

    management system

    Hardware Requirement:

    HardwareSpecifications

    MinimumConfiguration

    RecommendConfiguration

    Processor 1 GHz Pentium 1.6 GHz PentiumMother Bard Intel Chipset Intel 81x Chipset

    RAM 1GB 2 GBHard Disk 20 GB 40 GBDVD Drive 4x DVD Rom Drive 52x DVD Rom DriveFloppy Drive 1.44 MB Floppy Disk 1.44 MB Floppy DiskMonitor Monitor[640*480] Color[800*600]Keyboard Any Standard TVS GoldMouse Any Standard Optical

    Software Requirement:

    OS: Window XP or Above

    Front End: Microsoft Visual Studio 2008

    Back End: MYSQL

    Tools & Technology.

    Microsoft Visual Studio 2008. MYSQL. .NET Framework 3.5

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    9/52

    32

    College Management System

    DATA DICTIONARY:

    User Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTIONUserID int(5) Primary key User id

    UserName varchar(20) Not null User name

    Password varchar(16) Not null Password

    TransDate datetime Not null Trans date

    Student Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    StdId int(5) Primary key Stud id

    FName varchar(20) Not null First name of stud

    MName varchar(25) Not null Middle name of stud

    LName varchar(20) Not null Last name of stud

    Mobile varchar(12) Not null Mobile no

    Gender char(1) Not null Sex of stud

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    10/52

    32

    College Management System

    BDate Datetime Not null Dirth date of stud

    Email varchar(100) Not null Email add. of stud

    BGroup varchar(10) null Blood group of stud

    SemId_FK Int(2) Foreign key Refe to semester mst

    BatchId_FK Int(2) Foreign key Refe to branch mst

    DivId_FK Int(2) Foreign key Refe to division mst

    RollNo varchar(10) Not null Roll no

    Address varchar(300) Not null Address of stud

    City varchar(25) Not null City of stud

    State varchar(30) Not null State of stud

    Pin varchar(6) Not null Pin no

    PName varchar(50) Not null Parents name

    PMobile varchar(12) Not null Parents mobile no

    PPhone varchar(12) Null Home no

    UserId int(5) Foreign key Refe to User mst

    TrDate datetime Not null Trans date

    Batch MASTER TABLE

    FIELD DATATYPE CONSTRAINT DESCRIPTION

    BatchId Int[4] Primary key Branch id[ ex -1012 ]

    BatchName Varchar[15] Not null Branch name

    UserId Int[5] Foreign key Refe to User mst

    TrDate Datatime Not null Reg date

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    11/52

    32

    College Management System

    Semester Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    SemId int(4) Primary key Semester id

    SemName varchar(15) Not null Sem. Name

    UserId int(5) Foreign key Refe to User mst

    TrDate datetime Not null Trans date

    Subject Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    SubId int(4) Primary key Subject idSubName varchar(50) Not null Subject name

    SubCode varchar(10) Not null Subject code

    SemId_FK int(2) Foreign key Refe to sem mst

    BatchId_FK int(2) Foreign key Refe to branch mst

    UserId Int[5] Foreign key Refe to User mst

    TrDate datetime Not null Trans date

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    12/52

    32

    College Management System

    DEPARTMENT MASTER TABLE

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    DeptId INT(4) Primary key Id of departmentDeptName varchar(50) Not null Name of department

    UserId int(5) Foreign key Refe to User mst

    TrDate datetime Not null Date

    Designation Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    DesgId int(4) Primary key Designation id

    DesgName varchar(30) Not null Name of Designation

    UserId int(5) Foreign key Refe to User mst

    TrDate datetime Not null Reg. date

    Division Master

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    13/52

    32

    College Management System

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    DivId int(4) Primary key Division id

    DivName varchar(15) Not null Name of division

    SEM_ID_FK Int(4) Foreign key Refe to sem mst

    BatchId Int[5] Foreign key Refe to branch mst

    UserId int(5) Foreign key Refe to User mst

    TrDate datetime Not null Reg. date

    ATTENDANCE DETAIL TABLE

    FIELD DATATYPE CONSTRATINT DESCRIPTION

    AttId INT[4] Primary key Attendance id

    AttId_FK INT[4] Foreign key Refe to Attendance

    masterStdId_FK INT[4] Foreign key Refe to stud master

    Status Int[3] Not null Status of stud

    ATTENDANCE HEADER TABLE

    FIELD DATA TYPE CONSTRATINT DESCRIPTION

    AttId INT[4] Primary key Attendance id

    AttDate DATATIME Not null Attendance date

    SemId_FK INT[4] Foreign key Refe to sem master

    BatchId_FK INT[4] Foreign key Refe to branch master

    DivId_FK INT[2] Foreign key Refe to division master

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    14/52

    32

    College Management System

    SubCode_FK Varchar[5] Foreign key Refe ot sub mst

    EmpId_FK Int(2) Foreign key Rfe to emp mst

    Lec type Int(2) Not null Lab=1/2, lec =0

    UserId INT[5] Foreign key Refe to User mst

    TrDate DATATIME Not null Date

    Employee Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    EmpId int(4) Primary key Employee id

    FName varchar(20) Not null First Name

    MName varchar(25) Not null Middle name of

    Employee

    LName varchar(20) Not null Last name of Employee

    Mobile varchar(15) Not null Mobile no

    DeptId_FK int(4) Foreign key Refe to dept. master

    DesgId_FK int(4) Foreign key Refe. To designation

    master

    Gender Char(1) Not null Sex M/F

    Address varchar(300) Not null Address of Employee

    City varchar(25) Not null City

    State varchar(20) Not null State

    Pin varchar(10) Not null Pin no

    Phone varchar(15) Null Home tele. No

    Email varchar(100) Not null Email address

    JDate datetime Not null Joing date

    BDate datetime Not null Date of birth

    BGroup varchar(10) Not null Blood group

    BankAc varchar(20) Not null Bank account no

    PanNo varchar(20) Not null Pan card no

    UserId int(5) Foreign key Refe to User mst

    TrDate Datetime Not null Reg. date

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    15/52

    32

    College Management System

    Role Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    RoleID int(4) Primary key Role id

    RoleName varchar(25) Not null Role name

    userID int(5) Foreign key Refe to user mst

    TransDt datetime Not null Teans. Date

    Role permission

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    RPID int(4) Primary key Role per. Id

    RoleID_fk int(4) Foreign key Refe to role mst

    MenuID int(4) Foreign key Refe to menu mst

    userID int(5) Foreign key Refe to user mst

    TransDt datetime Not null Trans. Date

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    16/52

    32

    College Management System

    Menu Master

    FIELD DATA TYPE CONSTRAINT DESCRIPTION

    MenuID int(4) Primary key Menu id

    MenuName varchar(50) Not null Name of menu

    MenuType int(2) Not null Type of

    menu[child/parent]

    Available int(1) Not null Available or not

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    17/52

    32

    College Management System

    Entity Relationship Diagram

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    18/52

    32

    College Management System

    TEST CASE:

    Login Form

    Student Form

    Field

    Name

    Condition Actual Result Expected

    Result

    Action

    Txt.nam

    e

    If(txtname==charac

    ter)

    Insert into

    database with

    character value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    MsgTxt.addr

    ess

    If(txtadd==characte

    r)

    Insert into

    database withcharacter value

    If not match

    msg (entercorrect

    value)

    If

    (incorrect)

    Give error

    MsgTxt.tele_

    r

    If(txtteler==number

    )

    Insert into

    database with

    number value

    If not match

    msg (enter

    correct

    If

    (incorrect)

    KSV GANDHINAGAR

    Field Name Condition Actual Result Expected

    Result

    Action

    Txt.user If(txtuser==db.

    user)

    Msg(incorrect

    user)

    If not match

    result msg

    (incorrect)

    If (incorrect)

    Give error Msg

    Txt.user If(txtuser==db.

    user)

    Msg(correct

    user)

    If match

    Msg(correct)

    If (correct)

    Move on next

    textTxt.passwor

    d

    If(txtpass==db.

    user)

    Msg(incorrect

    user)

    If not match

    result msg

    (incorrect)

    If (incorrect)

    Give error Msg

    Txt.passwor

    d

    If(txtpass==db.

    user)

    Msg(correct

    user)

    If match

    Msg(correct)

    If (correct)

    Move on next

    text

  • 8/2/2019 Index Wise

    19/52

    32

    College Management System

    value) Give error

    MsgTxt.mobi

    le

    If(txtmobile==numb

    er)

    Insert into

    database with

    number value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give errorMsg

    Txt.age If(txtage==number) Insert into

    database with

    number value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    MsgTxt.pate

    nts nm

    If(txtPName==

    character)

    Insert into

    database with

    character value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    MsgTxt.e_ma

    il

    If(txtemail==regular

    _exp)

    Insert into

    database with

    expression

    value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    MsgTxt.BDat

    e

    If(txtBdate==

    datetime)

    Insert into

    database with

    character value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    MsgTxt.user If(txtstaff==

    character)

    Insert into

    database with

    character value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    MsgTxt.date If(txtdate==datetim

    e)

    Insert into

    database with

    data value

    If not match

    Msg(enter

    currect

    value)

    If(incorrect)

    Give error

    msg

    subject Form

    Field Name Condition Actual

    Result

    Expected

    Result

    Action

    Txt.subjectn

    ame

    If(txtname==charac

    ter)

    Insert into

    database

    with

    If not match

    msg (enter

    correct

    If

    (incorrect)

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    20/52

    32

    College Management System

    character

    value

    value) Give error

    MsgTxt.code If(txtfees==number

    )

    Insert into

    database

    with number

    value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give errorMsg

    Txt.semid If(txtsemid==numb

    er)

    Insert into

    database

    with

    character

    value

    If not match

    msg (enter

    correct

    value)

    If

    (incorrect)

    Give error

    Msg

    Student Attendance Form

    Field Name Condition Actual

    Result

    Expected

    Result

    Action

    Txt.stud_id If(txtid==numbe

    r)

    Insert into

    database with

    number value

    If not match

    msg (enter

    correct

    value)

    If (incorrect)

    Give error Msg

    Txt.date If(txtdate==date

    time)

    Insert into

    database with

    datetime

    value

    If not match

    msg (enter

    correct

    value)

    If (incorrect)

    Give error Msg

    Txt.type If(txttype==

    character)

    Insert into

    database withcharacter

    value

    If not match

    msg (entercorrect

    value)

    If (incorrect)

    Give error Msg

    Txt.semid If(txtcourse==

    number)

    Insert into

    database with

    number value

    If not match

    msg (enter

    correct

    value)

    If (incorrect)

    Give error Msg

    Txt.divid If(txtdivid==num

    ber)

    Insert into

    database with

    number value

    If not match

    msg (enter

    correct

    value)

    If (incorrect)

    Give error Msg

    COADING [Attendance Form]

    using System.Collections.Generic;using System.ComponentModel;using System.Data;

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    21/52

    32

    College Management System

    using System.Drawing;using System.Text;using System.Windows.Forms;using ZP.Common;using ZP.ProjName.BO;

    namespace ZPWindowApp{public partial class AttendenceMast : Form{ int CloseCnt = 0;

    DateTime seldate;clsGeneral gen = new clsGeneral();string Day = "";string SelectDay = "";string SubCode_FK = "";int LabHr = 0;string AttMode = "";

    int AttIdEdit = 0;DataTable dtEdit = new DataTable();DataTable dtSlot;DataTable dtBatch;

    private void AttendenceMast_Load(object sender,

    EventArgs e){

    gen.colorChange(this);gen.Center(this, this.MdiParent);dg.Columns["Sr"].Visible = false;

    doNotOrder();}private void clndr_DateSelected(object sender,

    DateRangeEventArgs e){

    seldate = clndr.SelectionStart;clndr.SetDate(seldate);clndr.Visible = false;txtAttDate.Text = seldate.ToString("dd-MMM-yyyy");clndrBtn.Focus();

    }

    private void clndr_KeyPress(object sender,KeyPressEventArgs e)

    {if (e.KeyChar == 13){

    seldate = clndr.SelectionStart;clndr.SetDate(seldate);clndr.Visible = false;

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    22/52

    32

    College Management System

    txtAttDate.Text = seldate.ToString("dd-MMM-yyyy");clndrBtn.Focus();

    }if (e.KeyChar == 27){

    clndr.Visible = false;}}private void clndrBtn_Click(object sender, EventArgs e){ if (clndr.Visible == true)

    {clndr.Visible = false;

    }else{

    clndr.Visible = true;

    }clndr.Focus();}private void clearGrid(){

    dg.Columns["Sr"].Visible = false;if (dg.Columns.Contains("ck1")){

    dg.Columns.Remove("ck1");}if (dg.Columns.Contains("ck2")){

    dg.Columns.Remove("ck2");}DataTable dt = new DataTable();dg.DataSource = dt;dg.DataSource = null; }

    private bool validateForShow(){

    if (cmbSem.SelectedIndex == 0){

    string sy = "";

    if (clsGeneral.SY){

    sy = "Semester";}else{

    sy = "Year";}

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    23/52

    32

    College Management System

    MessageBox.Show("Please Select " + sy);cmbSem.Focus();return true;

    }if (cmbBranch.SelectedIndex == 0)

    { MessageBox.Show("Please Select Branch");cmbBranch.Focus();return true;

    }if (cmbBatch.Visible== true &&

    cmbBatch.SelectedIndex==0){

    if (cmbBatch.Items.Count > 1){

    MessageBox.Show("Please Select Batch");

    cmbBatch.Focus();return true;}

    }if (cmbSlot.DataSource == null){

    MessageBox.Show("Please Select Slot No");cmbSlot.Focus();return true;

    }if (isHoliDay())

    {MessageBox.Show("Attndance Date is HoliDay or

    SunDay.So Changeit","Help",MessageBoxButtons.OK,MessageBoxIcon.Information);

    clndrBtn.Focus();return true;

    }if (grpProxy.Visible ){

    if (cmbSub.SelectedIndex==0 ){

    MessageBox.Show("If you want ot create proxythen selectSubject","Help",MessageBoxButtons.OK,MessageBoxIcon.Information);

    cmbSub.Focus();return true;

    }if (cmbEmp.SelectedIndex == 0){

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    24/52

    32

    College Management System

    MessageBox.Show("If you want ot create proxythen select Faculty", "Help", MessageBoxButtons.OK,MessageBoxIcon.Information);

    cmbEmp.Focus();return true;

    }}return false;

    }

    private void btnShow_Click(object sender, EventArgs e){

    DataTable dtSt = new DataTable();bool invalid = validateForShow();if (invalid) return;string IsHaving= "";

    dg.DataSource = null;if (dg.Columns.Contains("ck1")){

    dg.Columns.Remove("ck1");}if (dg.Columns.Contains("ck2")){

    dg.Columns.Remove("ck2");}if (pnlbatch.Visible==true)

    {IsHaving =

    Convert.ToString(BOCommon.getScalar("select AM.AttId from attmstAM inner join attdet AT on AT.AttId_FK=AM.AttId whereAM.AttDate=STR_TO_DATE('" +Convert.ToDateTime(txtAttDate.Text).ToString("dd-MMM-yyyy") +"','%d-%b-%Y') and AM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and AM.BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and AM.DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' and AM.LecNo='" +cmbSlot.Text + "' and AT.BatchId_FK='" +

    cmbBatch.SelectedValue.ToString() + "' "));if (IsHaving !=""){

    DialogResult msg;msg = MessageBox.Show("Attendance has already

    been Made" + Environment.NewLine + "Do You Want To Edit ThoseEntries", "Help", MessageBoxButtons.YesNo);

    if (msg.ToString() == "Yes")

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    25/52

    32

    College Management System

    {AttIdEdit = int.Parse(IsHaving);AttMode = "Edit";FiilToEdit();return;

    }else{

    return;}

    }AttMode = "Add";dtSt = BOCommon.GetViewFromQurey("select StdId

    as StdId_FK, BatchId_FK , RollNo, concat(FName,' ',LName) asStudentName from stdmst where SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and BranchId_FK='" +

    cmbBranch.SelectedValue.ToString() + "' and DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' and BatchId_FK='" +cmbBatch.SelectedValue.ToString() + "' and Status='Active'");

    try{

    if (!grpProxy.Visible){

    SubCode_FK = BOCommon.getScalar("selectS.SubCode from tabledet TD inner join tablemst TM onTM.TableId=TD.TableId_FK inner join submst S onS.SubId=TD.SubId_FK where TD.LectNo='" + cmbSlot.Text + "' and

    TD.Day='" + SelectDay + "' and TM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and TM.BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and TM.DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' and TM.BatchId_FK='" +cmbBatch.SelectedValue.ToString() + "' ").ToString();

    }else{

    if (cmbSub.SelectedIndex>0){

    SubCode_FK = cmbSub.Text;}else{

    SubCode_FK = BOCommon.getScalar("selectS.SubCode from tabledet TD inner join tablemst TM onTM.TableId=TD.TableId_FK inner join submst S onS.SubId=TD.SubId_FK where TD.LectNo='" + cmbSlot.Text + "' and

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    26/52

    32

    College Management System

    TD.Day='" + SelectDay + "' and TM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and TM.BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and TM.DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' and TM.BatchId_FK='" +cmbBatch.SelectedValue.ToString() + "' ").ToString();

    }}}catch (Exception){

    MessageBox.Show("You have not selected subjectwhen the TimeTable isgenerated.","Help",MessageBoxButtons.OK,MessageBoxIcon.Information);

    SubCode_FK = "";}

    dg.Columns["Sr"].Visible = true;donotOrder();}else{

    IsHaving =Convert.ToString(BOCommon.getScalar("select AttId from attmstwhere AttDate=STR_TO_DATE('" +Convert.ToDateTime(txtAttDate.Text).ToString("dd-MMM-yyyy") +"','%d-%b-%Y ') and SemId_FK='" + cmbSem.SelectedValue.ToString()+ "' and BranchId_FK='" + cmbBranch.SelectedValue.ToString() + "'

    and DivId_FK='" + cmbDiv.SelectedValue.ToString() + "' andLecNo='" + cmbSlot.Text + "'"));

    if (IsHaving != ""){

    DialogResult msg;msg = MessageBox.Show("Attendance has already

    been Made" + Environment.NewLine + "Do You Want To Edit ThoseEntries", "Help", MessageBoxButtons.YesNo);

    if (msg.ToString() == "Yes"){

    AttIdEdit = int.Parse(IsHaving);

    AttMode = "Edit";FiilToEdit();return;

    }else{

    return;}

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    27/52

    32

    College Management System

    }AttMode = "Add";dtSt = BOCommon.GetViewFromQurey("select StdId

    as StdId_FK, BatchId_FK , RollNo, concat(FName,' ',LName) asStudentName from stdmst where SemId_FK='" +

    cmbSem.SelectedValue.ToString() + "' and BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' and Status='Active'");

    try{

    if (!grpProxy.Visible){

    SubCode_FK = BOCommon.getScalar("selectS.SubCode from tabledet TD inner join tablemst TM onTM.TableId=TD.TableId_FK inner join submst S onS.SubId=TD.SubId_FK where TD.LectNo='" + cmbSlot.Text + "' and

    TD.Day='" + SelectDay + "' and TM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and TM.BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and TM.DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' ").ToString();

    }else{

    if (cmbSub.SelectedIndex>0){

    SubCode_FK = cmbSub.Text;}

    else{

    SubCode_FK = BOCommon.getScalar("selectS.SubCode from tabledet TD inner join tablemst TM onTM.TableId=TD.TableId_FK inner join submst S onS.SubId=TD.SubId_FK where TD.LectNo='" + cmbSlot.Text + "' andTD.Day='" + SelectDay + "' and TM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and TM.BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and TM.DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' ").ToString();

    }

    }}catch (Exception){

    MessageBox.Show("You have not selected subjectwhen the TimeTable is generated.", "Help", MessageBoxButtons.OK,MessageBoxIcon.Information);

    SubCode_FK = "";

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    28/52

    32

    College Management System

    }dg.Columns["Sr"].Visible = true;donotOrder();

    }dg.DataSource = dtSt;

    btnSave.Enabled = true;DataGridViewCheckBoxColumn ck1 = newDataGridViewCheckBoxColumn();

    ck1.Name = "ck1";ck1.HeaderText = SubCode_FK;dg.Columns.Add(ck1);if (pnlbatch.Visible == true && LabHr == 2){

    DataGridViewCheckBoxColumn ck2 = newDataGridViewCheckBoxColumn();

    ck2.Name = "ck2";

    ck2.ReadOnly = true;ck2.HeaderText = SubCode_FK;dg.Columns.Add(ck2);dg.Columns["ck2"].DefaultCellStyle.BackColor =

    Color.FromArgb(219,217,214);}dg.Columns["Sr"].ReadOnly = true;dg.Columns["StdId_FK"].Visible = false ;dg.Columns["BatchId_FK"].Visible = false;

    dg.Columns["RollNo"].ReadOnly = true;

    dg.Columns["StudentName"].ReadOnly = true;if (dg.Columns.Contains("ck2")){

    if (rBtnP.Checked){

    for (int i = 0; i < dg.RowCount; i++){

    dg.Rows[i].Cells["ck1"].Value = true;dg.Rows[i].Cells["ck2"].Value = true;

    }}

    }else{

    if (rBtnP.Checked){

    for (int i = 0; i < dg.RowCount; i++){

    dg.Rows[i].Cells["ck1"].Value = true;

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    29/52

    32

    College Management System

    }}

    }doNotOrder();

    }

    private void cmbDiv_SelectionChangeCommitted(objectsender, EventArgs e)

    {btnSave.Enabled = false;if (cmbDiv.SelectedIndex > 0){

    cmbSlot.Enabled = true;

    if (isHoliDay()){

    MessageBox.Show("Attndance Date is HoliDay orSunDay.So Change it", "Help", MessageBoxButtons.OK,MessageBoxIcon.Information);

    cmbDiv.SelectedIndex = 0;clndrBtn.Focus();

    }else{

    bool valid=BindSlot();if (!valid){

    // MessageBox.Show("Timetable For ThisDivision(Sem/Year/Branch/)or For "+Day+" is Not Generated.PleaseChnge Selection");

    MessageBox.Show("Timetable is not available ofyour selection.Please Try Again.");

    cmbDiv.SelectedIndex = 0;

    cmbDiv.Focus();cmbSlot.DataSource = null;

    cmbSlot.Enabled = false;

    }}}}

    private void txtAttDate_TextChanged(object sender,EventArgs e)

    {if (isHoliDay()){

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    30/52

    32

    College Management System

    MessageBox.Show("Attndance Date is HoliDay orSunDay.So Change it", "Help", MessageBoxButtons.OK,MessageBoxIcon.Information);

    clndrBtn.Focus();return ;

    }

    btnSave.Enabled = false;if (txtAttDate.Text!=""){

    bool valid = BindSlot();if (!valid){ MessageBox.Show("Timetable is not available of

    your selection.Please Try Again.");clndrBtn.Focus();cmbSlot.DataSource = null;

    cmbSlot.Enabled = false;}}}

    private void cmbSem_SelectionChangeCommitted(objectsender, EventArgs e)

    {bindSub();btnSave.Enabled = false;if (cmbSem.SelectedIndex>0){

    cmbBranch.Enabled = true;

    }else{

    cmbBranch.SelectedIndex = 0;cmbBranch.Enabled = false;

    }}private void cmbDiv_EnabledChanged(object sender,

    EventArgs e){

    if (cmbDiv.Enabled == false)

    {cmbSlot.DataSource = null;cmbSlot.Enabled = false;

    }}private void btnSave_Click(object sender, EventArgs e){

    bool IsSucces=false;

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    31/52

    32

    College Management System

    bool invalid = validateForShow();if (invalid) return;if (dg.RowCount < 1){

    MessageBox.Show("No data to save", "Help",

    MessageBoxButtons.OK, MessageBoxIcon.Information);btnShow.Focus();return;

    }BOAtt obj = new BOAtt();BOAtt.CustomerEntity ce = new BOAtt.CustomerEntity();if (AttMode=="Add"){

    ce.AttId = 0;}else

    { ce.AttId = AttIdEdit;}ce.AttDate = Convert.ToDateTime(txtAttDate.Text);ce.SemId_FK =

    int.Parse(cmbSem.SelectedValue.ToString());ce.BranchId_FK=

    int.Parse(cmbBranch.SelectedValue.ToString());ce.DivId_FK=

    int.Parse(cmbDiv.SelectedValue.ToString());ce.LecNo = Convert.ToInt16(cmbSlot.Text);

    ce.UserId = ZPCommon.LoginID;if (grpProxy.Visible){

    if (pnlbatch.Visible){

    ce.SubCode_FK= BOCommon.getScalar("selectS.SubCode from tabledet TD inner join tablemst TM onTM.TableId=TD.TableId_FK inner join submst S onS.SubId=TD.SubId_FK where TD.LectNo='" + cmbSlot.Text + "' andTD.Day='" + SelectDay + "' and TM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and TM.BranchId_FK='" +

    cmbBranch.SelectedValue.ToString() + "' and TM.DivId_FK='" +cmbDiv.SelectedValue.ToString() + "' and TM.BatchId_FK='" +cmbBatch.SelectedValue.ToString() + "' ").ToString();

    }else{

    ce.SubCode_FK = BOCommon.getScalar("selectS.SubCode from tabledet TD inner join tablemst TM on

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    32/52

    32

    College Management System

    TM.TableId=TD.TableId_FK inner join submst S onS.SubId=TD.SubId_FK where TD.LectNo='" + cmbSlot.Text + "' andTD.Day='" + SelectDay + "' and TM.SemId_FK='" +cmbSem.SelectedValue.ToString() + "' and TM.BranchId_FK='" +cmbBranch.SelectedValue.ToString() + "' and TM.DivId_FK='" +

    cmbDiv.SelectedValue.ToString() + "' ").ToString();}ce.EmpID_FKProxy =

    int.Parse(Convert.ToString(cmbEmp.SelectedValue));ce.SubCode_FKProxy = cmbSub.Text;

    }else{

    ce.SubCode_FK = SubCode_FK;ce.EmpID_FKProxy = int.Parse(lblEmpID_FK.Text);ce.SubCode_FKProxy = SubCode_FK;

    }ce.EmpID_FK = int.Parse(lblEmpID_FK.Text);ce.Type=Convert.ToInt16(cmbSlot.SelectedValue.ToStrin

    g());int LastID = 0;LastID = obj.SaveAttMst(ce);if (LastID > 0 || AttMode == "Edit"){

    int LastInsertID = 0;if (AttMode=="Add"){

    ce.AttId_FK = 0;LastInsertID = LastID;

    }else{

    ce.AttId_FK = AttIdEdit;}for (int i = 0; i < dg.RowCount; i++){

    if (AttMode == "Add"){

    ce.AttDetId = 0;}else{

    ce.AttDetId =Convert.ToInt64(dg.Rows[i].Cells["AttDetId"].Value);

    }

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    33/52

    32

    College Management System

    ce.StdId_FK=int.Parse(dg.Rows[i].Cells["StdId_FK"].Value.ToString());

    ce.RollNo=dg.Rows[i].Cells["RollNo"].Value.ToString();

    ce.StdName=

    dg.Rows[i].Cells["StudentName"].Value.ToString();ce.BatchId_FK =int.Parse(dg.Rows[i].Cells["BatchId_FK"].Value.ToString());

    if(Convert.ToBoolean(dg.Rows[i].Cells["ck1"].EditedFormattedValue.ToString()))

    {ce.Status=1;

    }else{

    ce.Status=0;}IsSucces = obj.SaveAttDet(ce, LastInsertID);

    }if (IsSucces){

    clearGrid();cmbSub.SelectedIndex = 0;cmbEmp.SelectedIndex = 0;grpProxy.Visible = false;MessageBox.Show("Data Has been saved");

    }}}

    private void bindSub(){

    if (cmbSem.SelectedIndex>0 &&cmbBranch.SelectedIndex>0 )

    {

    DataTable dt =BOCommon.GetViewFromQurey("select SubId, SubCode from submstwhere SemId_FK='" + cmbSem.SelectedValue.ToString() + "' and

    BranchId_FK='" + cmbBranch.SelectedValue.ToString() + "' ");DataRow dr = dt.NewRow();dr["SubId"] = "-999999";dr["SubCode"] = "--- Select Subject---";dt.Rows.InsertAt(dr, 0);cmbSub.DataSource = dt;cmbSub.ValueMember = "SubId";cmbSub.DisplayMember = "SubCode";

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    34/52

    32

    College Management System

    cmbSub.Enabled = true;}else{

    if (cmbSub.Items.Count>1)

    { cmbSub.SelectedIndex = 0;}cmbSub.Enabled = false;

    }}

    }}

    SCREEN LAYOUT:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    35/52

    32

    College Management System

    Input design is the most part of overall system design, which requires

    more and strict attention on it when the any new system is developed.

    Sometimes the collection of data is most expensive part of the system.

    If there is any mistake in taking data by user of data going into thesystem is incorrect then the processing and output of the system

    becomes incorrect. And if in any system if we generate the incorrect

    output, it will be effect on your credit. If we are going to create any

    system first of all we have to give the personal security to user so that

    only proper user can able to use the system. So that our data becomes

    secure.

    Login form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    36/52

    32

    College Management System

    Home Form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    37/52

    32

    College Management System

    Student Form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    38/52

    32

    College Management System

    Employee From :

    Role Rights Form :

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    39/52

    32

    College Management System

    Attendance Form :

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    40/52

    32

    College Management System

    Batch Form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    41/52

    32

    College Management System

    Branch Form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    42/52

    32

    College Management System

    Department Form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    43/52

    32

    College Management System

    Subject Form:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    44/52

    32

    College Management System

    REPORT LAYOUT

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    45/52

    32

    College Management System

    Output design is the main part of the system design, which requires cost

    ration and very strict attention on it when the any new system is

    developed. Sometimes the report of data is the most effective part of

    the system. If there is any mistake in representing data by system or

    the report of system is improper then the system becomes incorrect or

    unattractive. And this system will be effect on out credit. If we are going

    to create any report first of all we have to give the proper format to

    every report so that any user can able to under the information. So for

    this purpose we have generated all the report in the simple and sober

    format.

    As we have input all data with proper data validation so we do not have

    any tension about the proper data. Here in the system we have also

    give the facility to get the proper output in the form module.

    We have provided the facility for the report, number of attendance of

    the students and also count the percentage of attendance into report.

    This all reports have been taken as the output design.

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    46/52

    32

    College Management System

    Attendance Report:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    47/52

    32

    College Management System

    Branch Report:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    48/52

    32

    College Management System

    Employee Report:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    49/52

    32

    College Management System

    Student Report:

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    50/52

    32

    College Management System

    PROPOSED ENHANCEMENT

    We think that not a single project is ever considered as completeforever because our mind is always thinking something new and ournecessities also are growing day by day. We always want something more

    than what we have. Our application also if you see at the first glance thanyou find it to be complete but we want to make still mature and fullyautomatic. Some of the expansions which we have thought of are:

    We Improve Color in our software Pages.

    We will add printing Facility in our Software.

    We will add faculty attendance and student further facility.

    We will add forget password facility.

    We will also add SMS facility.

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    51/52

    32

    College Management System

    CONCLUSION

    The College Management System has been a way of minimizing the

    clerical work, which is almost a routine and accumulate the most precious

    time.

    This College Management System has been an attempt to help the

    Admin and staff member to minimize his workload along with minimizing the

    paper works and saving of time.

    The system has been developed in a way to make it very user friendly.

    It provides day-to-day updated records and minimized the human errors.

    KSV GANDHINAGAR

  • 8/2/2019 Index Wise

    52/52

    College Management System

    Bibliography

    During the development of our system. We have taken the Reference from

    Books and Journals, Which we would like to mention in this section

    These Books acted as our tutors during the system development.

    NAME AUTHOR

    1. Applied .net Framework pro. Jeffrey RichterIn C#. Net

    2. Microsoft C#. NET step-by-step Michael Halverson


Recommended