0% found this document useful (0 votes)
33 views41 pages

Project Report (2) - 1

Online movie ticket booking

Uploaded by

Aapka Apna Sathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
33 views41 pages

Project Report (2) - 1

Online movie ticket booking

Uploaded by

Aapka Apna Sathi
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 41

A

PROJECT REPORT

ON

COLLEGE MANAGEMENT SYSTEM

Submitted in Partial Fulfillment of the Requirements


for the award of the degree of

BACHELOR OF COMPUTER APPLICATIONS

Submitted By: Project Guide:


Harshit kumar(2108551016125) Mr. Amit Tyagi
Himanshu(210855106131) (Asst. Professor)
BCA Dept., SRC

DEPARTMENT OF Computer Application,


SHRI RAM COLLEGE,
MUZAFFARNAGAR
(Affiliated to Ma Sakumbari University,Saharanpur)

SESSION 2021-24

1
DECLARATION

We Harshit Kumar and Himanshu hereby declare that the project report title “College management
System” is an original work carried out by me under the supervision of Mr. Amit Tyagi. I
further declare that this work has not been submitted to any other Institute/University for the award of
the degree of Bachelor of Computer Applications.

Student Name: Harshit Kumar


Roll No: 210855106125

Student Name: Himanshu


Roll No: 210855106131

2
Date: 30th April 2013

FORWARDING LETTER

This is to certify that the project entitled “College Management System ”, which is being submitted for
the partial fulfillment for the award of Degree of Bachelor of Computer Applications from
ma sakumbari university saharanpur is an authentic work carried out by Mr .Harshit kumar
(University Roll No.210855106125) and Himanshu(210855106131) under the guidance of
Project Guide Mr.Amit Tyagi.

The matter embodied in this project woek has been submitted earliar for the award of degree .

We wish him/her all the best for the future.

Internal Guide Head - BCA Department

Mr. Amit Tyagi Mr. Nishant Rathi

3
ACKNOWLEDGEMENT

We would like to acknowledge and give my warmest thanks to my teacher


Mr. Amit Tyagi who made this work possible for me. His guidance and advice carried me
through all the stages of working on my project.

We have received unfailing encouragement and inspiration of Dr. Amit Tyagi


whose exceptional knowledge and unparalleled behavior is full of enthusiastic inspiration in it.
However, we can never adequate thank all those who have their assistance, guidance, cooperation
contributed to the improvement of this report.
.
Since performance feedback is essential for effective communication, mistakes and creative feedback
of the report may be strongly communicated to me, who will be as far as possible duly acknowledged
and most welcome.

Finally, I(Harshit kumar) would like to thank God, for letting me through all the difficulties. I have
experienced your guidance day by day. You are the one who let me finish my Project. I will keep on
trusting you for my future.

Harshit Kumar
(210885106125)

Himanshu
(210855106131)

4
Preface

This project is aimed at developing a desktop based application


named “COLLEGE MANAGEMENT SYSTEM”for managing the college system of any
organization.The COLLEGE MANAGEMENT SYSTEM (SMS) refers to the system and process
to manage the COLLEGE of organization with the involvement of technology system. This System
can be used to store the details of the student, college maintenance, update the faculty based on
the details, and generate daily and weekly based. This project is categorize
individual aspects for the and college management system. In this system we are solving
different problem affecting to direct management . college
Management System is important to ensure quality control in college that handle
transactions resolving around consumer goods. Without proper control.

5
INDEX

Ch. 1. Introduction and Objective………………………………………………………..7-10


1.1 Scope of the system……………………………………………………………………………… 8
1.2 Problem Statement……………………………………………………………………………... 8
1.3 Project Description…………………………………………………………………………… 9-10
1.3.1 About Existing System………………………………………………………………........9
1.3.2 Implementation of Proposed System………………………………………………….9-10
1.4 Advantages and Limitations of project ……………………………………………………….... 10

Ch. 2. Project Category Tools & Environment………………………………………….11-12


2.1 Project Category & Development………………………………………………………………...11
2.2 Front end coverage ……………………………………………………………………………….11
2.3 Back end coverage………………………………………………………………………………..11
2.4 Software and Hardware requirements……………………………………………………………12

Ch. 3. Project development stages………………………………………………………..13-17


3.1 Recognition of needs ……………………………………………………………………………..13
3.2 Feasibility study………………………………………………………………………………13-15
3.2.1 Technical Feasibility………………………………………………………………...13-14
3.2.2 Operational Feasibility………………………………………………………………14-15
3.2.3 Economic Feasibility……………………………………………………………………15
3.3 DFD & ER Diagram…………………………………………………………………………16-17

Ch. 4. Project Forms ……………………………………………………………………..18-81


4.1 Database Tables………………………………………………………………………………18-19
4.2 Modules & Coding…………………………………………………………………………...20-78
4.3 Output Screens………………………………………………………………………………..79-81

Ch. 5. Conclusion …………………………………………………………………………….82

Bibliography…………………………………………………………………………….....83

6
CHAPTER.1 INTRODUCTION

Introduction

The project college Management System is a complete desktop based application designed on
C Sharp using SQL SERVER Software. The main aim of the project is to develop college Management System
Model software in which all the information record the students of the organization will be presented.
It is an Intranet based desktop application which has admits component to manage the teacher and
maintenance of the college system. This desktop application is based on the management of students of an
organization. The application contains vendors details, the
remaining faculty that are presented in the organization. There is a provision of updating the collge also.
This application also provides the remaining balance of the students as well as the details of the balance
of transaction. The new product can also be added here. In this project the calculator is also given to
cross check the calculation, google is also in the additional services. Here the login page is created in
order to protect the management of the college of organization in order to prevent it from the threads
and misuse of the college.

Objectives

 Primary objective:-
The primary objectives of the project is to know the fundamentals of C Sharp programming and
SQL Server using .

 Secondary objective:-
The secondary objectives of this project are mentioned below:

► To develop an application that deals with the day to day requirement of any production
organization To develop the easy management of the college.

► To handle the college details , and balance students details.

► To provide details information about the college balance.


► To make the college manageable and simplify the use of college in the organization.

7
1.1 Scope of the System

The scope of this document includes an overview of the college


MANAGEMENT SYSTEM project, detailed information about the requirements, including
functional requirements, interface requirements, nonfunctional requirements and additional
constraints of the system.
1. There is only one user of this system who is the owner.
2. Owner can add product in the college.
3. Owner can also modify the college of the product.
4. Vendor information is also accessible and can be modified.
5. In the database the date on which the product is purchased can also be seen.

1.2 Problem Statement

After analyzing many existing SMS we have now the obvious vision of the project to be
developed. Before we started to build the application we had many challenges,

We defined problem statement as:

• To make desktop based application small organization.


• To make the system easily managed and can be secured.
• To cover different areas , product managing them...

8
1.3 Project Description
1.3.1About Existing System:-

“COLLEGE Management System” is one can go into almost required solution regarding the book. This
software package provides guidance for all the college management purpose, as a perfect guide, the
current demand for such software became needful. This project will provide for computerization of a
small enterprise whose main goal is to keep track on their college process and wants to change from
paper based data to computerized data. In this System, on starting it the login page will be displayed,
which can only be accessed by the Owner. Six options are provided, one is for vendor information,
second is for, details, fourth for product details, fifth is for additional
services where notepad, calculator and google is given , at last but not the least is logout option.

For college management processes, you need robust functionality for managing your
logistics facilities. Support for college management helps you record and track materials on the basis of
both quantity and value.

college management functions cover internal warehouse movements and storage.

Additional benefits of college management include improved cash flow, visibility, and decision
making.

This software is user friendly and hence easy to use.

1.3.2 Implementation of Proposed System

A crucial phase in the system life cycle is the successful implementation of the new system
design. Implementation includes all those activities that take place to convert from the old system to
tee new one. The new system may be completely new, replacing an existing system. In either case,
proper implementation becomes necessary so that a reliable system based on the requirements of the
organization can be provided. Successful implementation may not guarantee improvement in the
organization using the new system, but improper installation will prevent it. It has been observed that
even the best system can’t show good result if the analysts managing the implementation do not

9
attend to every important details. This is an area where the systems analysts need to work with utmost
care. This system will be implemented using C sharp as front end and SQL Servar as back end.

For the successful implementation of a system, the training of the users of the system plays
an important role. Because even well designed system can succeed or fail because of the way they are
operated and used. Therefore, the quality of the training received by the personnel involved with the
system in various capacities helps or hinders and may even prevent the successful implementation of
management information system. Those who are directly or indirectly related with the system
development work must know in detail what their roles will be, how they can ace efficient use of the
system and what the system will or will not do for them. Therefore both system operators and users
need training.

1.4 Advantages and Limitations of project

Advantages
1. Avoidance of college-outs and excess college .
2. Helps save time and money .
3. Fast accessible.
4. Easy to maintain .

Limitations
1. This application is not suitable for those organization where there is large quantity.
2. Single admin panel is only made.
3. It is not suitable for large organization.

10
CHAPTER.2 PROJECT CATEGORY & ENVIRONEMENT

2.1 Project Category & Development

Today computer has become the backbone of nearly every occupation. In every industry or company
or any institution, the several employees have to maintain a number of records in various part of the
organization. In a library, there is a need to maintain record about employees, edibles, assets & many
more.

To do this work manually requires a lot of manpower and consumes too much time. Moreover one is
never sure about the efficiency & accuracy of work being done and records being maintained. A bad
part of this style of working is that, if a person concerned for a particular job, say maintaining
customer record, is on leave, some of the process gets standstill, which depends on the records kept
by that employee. That is, where automation comes in to help and allows simple, smooth and most
efficient, secure and easy to handle functionality.

This system will reduce the workload of the employee and time of processing of data from one unit to
another.It also provides the facility to prevent the unauthorized data access of other persons by
categorized the user as normal user and administrator. Only administrator can delete & even modify
the records.

2.2 Front end

C SHARP used as FRONT END

Sharp is used as front end programming language using SQL Server software.

2.3 Back end

SQL Servar used as BACK END

SQL servar is used as front end language for handling the database using SQL servar software.

11
2.4 Software and Hardware Requirements

Technologies Used : C Sharp and SQL server


Hardware Requirements:

Processor :- Pentium 4 or higher processor


Ram :- 1gb or higher
Keyboard :- 104 keys

Software Requirements:

Operating System : Windows XP/2003 or Linux/Solaris


Programming Language : C Sharp (2018)

SQL server Workbench : 8.0

12
CHAPTER.3 PROJECT DEVELOPMENT STAGES

3.1 RECOGNITION OF NEEDS

We all know the importance of computerization. The world is moving ahead at lightning speed and
everyone is running short of time. One always wants to get the information and perform a task
he/she/they desire(s) within a short period of time and too with amount of efficiency and accuracy.
The application areas for the computerization have been selected on the basis of following factors:

1. Minimizing the manual records kept at different locations.


2. There will be more data integrity.

3. Facilitating desired information display, very quickly, by retrieving information from users.

4. Facilitating various statistical information which helps in decision-making?

5. To reduce manual efforts in activities that involved repetitive work.

6. Updating and deletion of such a huge amount of data will become easier.

3.2 FEASIBILITY STUDY


The concept of feasibility is to determine whether or not a project is worth doing.

The process followed in making this determination is called feasibility study.


Once it has been determined that a project is feasible, the system analyst can go ahead and prepare the
project specification which finalizes project requirements.

Types of feasibility

1. Technical Feasibility
2. Operational Feasibility
3. Economic Feasibility

Here we describe only few of these in detail:-

3.2.1 TECHNICAL FEASIBILITY

13
This is concerned with specifying equipment and software that will
successfully satisfy the user requirement. Technical needs of the system include:-

Facility to produce output in a given time

Response time under certain conditions

Ability to process a certain volume of transactions at a particular period

Facility to communicate data to distant location

In examining technical feasibility, configuration of the system is given more importance than the
actual make of hardware .Configuration should give the complete picture about the system’s
requirements: how many workstations are required , how these units are interconnected so that they
could operate and communicate smoothly. What speeds of input and output should be achieved at
particular quality of printing.

The computers are easily available in almost all the places, even in villages. The hardware needed to
carry out this project with 64 MB of RAM and 2 GB HDD.

The software needed to carry out this project include Visual Basic 6.0 as front end and oracle 8 as
back end .So the technology required to carry out the project is easily available and affordable, hence
this project is technically feasible

Due to all these reasons implementation of such system becomes not only feasible but reputed to the
organization..

3.2.2OPERATIONAL FEASIBILITY

This is mainly related to human organization and political aspects. The points to be considered are:-

What changes will be brought with the system?


What organizational structures are disturbed?

What new skills will be required? Do the existing staff members have these skills? If not, they be
trained in due course of time.

14
This feasibility study is carried out by a small group of people who are familiar with the information
system techniques who understand the parts of business that are relevant to the project and are skilled
in the system analysis and design process. This project is not developed just for fun. They are

developed on demand of the organization for which the system is being developed. Therefore the
chances of resistance from the company Staff is almost nil. Any disturbance to the organization if
occurs will be advantageous to the organization. Also the time required to carry out a transaction will
be required to a large extent, which will make the students and others happy and cheerful. The
operators now will be able to service more students and staff members than before in same time period.
There is no need to recruit new staff to corporate the system .The existing staff of the company can be
trained to interact with the system, which is a GUI, based software and is easy to use. Hence the project
is Operationally feasible.

3.2.3.ECONOMIC FEASIBILITY

Economic analysis is the most frequently used technique for evaluating the effectiveness of a proposed system.
More commonly known as cost-benefit analysis; the procedure is to determine the benefits and savings that are
expected from a proposed system and compare them with costs. If benefits outweigh costs, a decision is
taken to design and implement the system.

15
3.3 DFD

A data flow diagram is a graphical representation of the "flow"of data through an


information system, modelling its process aspect.
4.1
ER Diagram stands for Entity Relationship Diagram, also known as ERD is a diagram that displays
the relationship of entity sets stored in a database

ER diagram of college management system


CHAPTER.4 PROJECT FORMS

4.1 Database Tables :-


Name of 6 tables of database ‘collegemanagement’ are given shown in diagram : -

• Has 7 attributes[id, college name, description, barcode,, ]

18
• Has 6 attributes(id, date, vendor, subtotal, )


Has 5 attributes(id, date, subtotal, )

• Has 6 attributes (id, book, , price, total)

• Has 6 attributes (id, book_id, pid, price, , total)

19
Modules and Coding

There are total 6 modules in this project as shown in diagram :-

1.Vendor:
package stock;
import java.lang.System.Logger;
import java.lang.System.Logger.Level;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.*;
import java.util.Vector;
import javax.swing.JOptionPane;
import javax.swing.table.DefaultTableModel;

public class vendor extends javax.swing.JFrame {


public vendor() {
initComponents();
Connect();
load();
}
Connection con;
PreparedStatement pst;
DefaultTableModel df;
public void Connect()
{
try{
Class.forName("com.mysql.cj.jdbc.Driver");
on=DriverManager.getConnection("jdbc:mysql://localhost:3306/stockmanagement","root","IITm@tech0");
}catch(ClassNotFoundException | SQLException ex) {
java.util.logging.Logger.getLogger(vendor.class.getName()).log(java.util.logging.Level.SEVERE, null,
ex); } }

20
login code
usingpackage view;
System.Diagnostics.Eventing.Reader;
importusing System.Data.SqlClient;
services.UsersService;
namespace eCollege
import javax.swing.*;
import{ java.awt.event.ActionEvent;
public
public class partial
Login class
extends Form1
JFrame { : Form
{
private JTextField usernameField;
public Form1()
private JPasswordField passwordField;
{
private JRadioButton librarianRadio;
private JRadioButton adminRadio;
InitializeComponent();
}
public Login() {
initComponents();
}
private void button1_Click(object sender, EventArgs e)
private void
{ initComponents() {
setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
label1.Text
setTitle("Library = "";
Management System - Login");
setSize(350,
} 200);
setLocationRelativeTo(null);
JPanelprivate
panel =void
new Form1_Load(object
JPanel(); sender, EventArgs e)
JLabel userLabel = new JLabel("Username:");
JLabel{ passLabel = new JLabel("Password:");
usernameField = new JTextField(20);
// label1.Text = "harsh";
passwordField = new JPasswordField(20);
librarianRadio = new JRadioButton("Librarian");
adminRadio
} = new JRadioButton("Admin");
ButtonGroup userTypeGroup = new ButtonGroup();
userTypeGroup.add(librarianRadio);
private void b1_Click(object sender, EventArgs e)
userTypeGroup.add(adminRadio);
{
JButton loginButton = new JButton("Login");
loginButton.addActionListener(this::loginActionPerformed);
stringlayout
GroupLayout user,=pass;
new GroupLayout(panel);
user = t1.Text;
panel.setLayout(layout);
layout.setAutoCreateGaps(true);
pass = t2.Text; // Assuming this is the correct name of your password text box.
layout.setAutoCreateContainerGaps(true);
layout.setHorizontalGroup(layout.createParallelGroup(GroupLayout.Alignment.CENTER)
if (user.Equals("admin")&&pass.Equals("admin"))
.addGroup(layout.createSequentialGroup()
{ .addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
.addComponent(userLabel)
MessageBox.Show("Login successful!","Welcome");
.addComponent(passLabel)
Form10 f=new Form10();
.addComponent(librarianRadio)
.addComponent(adminRadio))
f.Show();
.addGroup(layout.createParallelGroup(GroupLayout.Alignment.LEADING)
this.Hide();
.addComponent(usernameField)
.addComponent(passwordField)))
.addComponent(loginButton)
); }
else
layout.setVerticalGroup(layout.createSequentialGroup()
{
.addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(userLabel)
MessageBox.Show("Incorrect username or password.");
.addComponent(usernameField))
.addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(passLabel)
.addComponent(passwordField))
}
.addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
} .addComponent(librarianRadio))
.addGroup(layout.createParallelGroup(GroupLayout.Alignment.BASELINE)
.addComponent(adminRadio))
.addComponent(loginButton)
);
private void b2_Click(object sender, EventArgs e)
add(panel);
{
}
Application.Exit();
private String
} getUserType() {
if (librarianRadio.isSelected()) {
return "Librarian";
} elseprivate
if (adminRadio.isSelected()) {
void label1_Click(object sender, EventArgs e)
return "Admin";
} else{{
return null;
}
} }
} void loginActionPerformed(ActionEvent evt) {
private
}
String username = usernameField.getText();
String password = new String(passwordField.getPassword());
String usertype = getUserType();
//
// For simplicity, hardcoding username and password
if(isNotAValidUser(username, password, usertype)){
JOptionPane.showMessageDialog(this, "Invalid username or password or usertype.");
return;
}
MENU OF COLLEGE

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace eCollege
{
public partial class Form10 : Form
{
public Form10()
{
InitializeComponent();
}

private void b1_Click(object sender, EventArgs e)


{

Form11 f = new Form11();


f.Show();
}

private void b2_Click(object sender, EventArgs e)


{

Form11 f11 = new Form11();


f11.Show();
}

private void b3_Click(object sender, EventArgs e)


{
string Faculty;

Form8 f = new Form8();


f.Show();
}

private void b5_Click(object sender, EventArgs e)


{

Form7 f = new Form7();


f.Show();
}
private void b4_Click(object sender, EventArgs e)
{

Form12 f = new Form12();


f.Show();
}

private void button1_Click(object sender, EventArgs e)


{
Form13 f = new Form13();
f.Show();
this.Hide();
}

private void button2_Click(object sender, EventArgs e)


{
Form8 f = new Form8();
}
}
}
Add Students

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace eCollege
{
public partial class Form11 : Form
{
public Form11()
{
InitializeComponent();
}

private void t2_TextChanged(object sender, EventArgs e)


{

private void t1_TextChanged(object sender, EventArgs e)


{

private void b2_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=Tr
SqlConnection con = new SqlConnection(connectionstring);
con.Open();

string Faculty;
Faculty = t1.Text;

string q = "delete from student where sid=@p";


SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@p", Faculty);

cmd.ExecuteNonQuery();
MessageBox.Show("Faculty Details deleted Successfully...:", "Success");
t1.Text = "";

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

string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=True;Encry


SqlConnection con = new SqlConnection(connectionstring);
con.Open();
DataTable dt = new DataTable();
SqlDataAdapter adapt;
adapt = new SqlDataAdapter("select * from STUDENT", con);
adapt.Fill(dt);
dataGridView1.DataSource = dt;
con.Close();
}

private void b1_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();

string Sid, Name, Add, Phone, Couress, Email, Password, Totalfee, Deposit, Pending;
Sid = t1.Text;
Name = t2.Text;
Add = t3.Text;
Phone = t4.Text;
Couress = t5.Text;
Email = t6.Text;
Password = t7.Text;
Totalfee = t8.Text;
Deposit = t9.Text;
Pending = t10.Text;
string q = "insert into student values(@a,@b,@c,@e,@f,@g,@h,@i,@j)";
SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@a", Sid);
cmd.Parameters.AddWithValue("@b", Name);
cmd.Parameters.AddWithValue("@c", Add);

cmd.Parameters.AddWithValue("@e", Couress);
cmd.Parameters.AddWithValue("@f", Email);
cmd.Parameters.AddWithValue("@g", Password);
cmd.Parameters.AddWithValue("@h", Totalfee);
cmd.Parameters.AddWithValue("@i", Deposit);
cmd.Parameters.AddWithValue("@j", Pending);
cmd.ExecuteNonQuery();
MessageBox.Show("Student Registered Successfully...\nKindly notedown your password for future commu
t1.Text = "";
t2.Text = "";
t3.Text = "";
t4.Text = "";
t5.Text = "";
t6.Text = "";
t7.Text = "";
t8.Text = "";
t9.Text = "";
t10.Text = "";

}
}
}
Add Faculty

using Microsoft.VisualBasic.ApplicationServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;

namespace eCollege
{
public partial class Form7 : Form
{
public Form7()
{
InitializeComponent();
}

private void Form7_Load(object sender, EventArgs e)


{

private void b1_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();

string Login;
Login = b1.Text;

string Faculty, Name, Addres, Phone, Pasword;


Faculty = t1.Text;
Name = t2.Text;
Addres = t3.Text;
Phone = t4.Text;
Pasword = t5.Text;
string q = "insert into faculty values(@a,@b,@c,@d,@e,@f,@g)";
SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@a", Faculty);
cmd.Parameters.AddWithValue("@b", Name);
cmd.Parameters.AddWithValue("@c", Addres);
cmd.Parameters.AddWithValue("@d", Phone);
cmd.Parameters.AddWithValue("@e", tc.Text);
cmd.Parameters.AddWithValue("@f", te.Text);
cmd.Parameters.AddWithValue("@g", Pasword);
cmd.ExecuteNonQuery();
MessageBox.Show("Faculty Registered Successfully...\nKindly notedown your password for
future communication", "Success");
t1.Text = "";
t2.Text = "";
t3.Text = "";
t4.Text = "";
t5.Text = "";
tc.Text = "";
te.Text = "";

private void b2_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated
Security=True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();

string Faculty;
Faculty = t1.Text;
string q = "delete from faculty where fid=@p";
SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@p", Faculty);

cmd.ExecuteNonQuery();
MessageBox.Show("Faculty Details deleted Successfully...:", "Success");
t1.Text = "";

private void b4_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
DataTable dt = new DataTable();
SqlDataAdapter adapt;
adapt = new SqlDataAdapter("select * from faculty", con);
adapt.Fill(dt);
dataGridView1.DataSource = dt;
con.Close();
}

private void b3_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();

string Faculty;
Faculty = t1.Text;

string q = "update faculty set address=@t, phone=@u where fid=@p";


SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@t", t3.Text);
cmd.Parameters.AddWithValue("@u", t4.Text);

cmd.Parameters.AddWithValue("@p", Faculty);

cmd.ExecuteNonQuery();
MessageBox.Show("Faculty Details Updated Successfully...:", "Success");
t1.Text = "";

}
}
}
ACCOUNTENT

using Microsoft.VisualBasic.ApplicationServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Data.SqlClient;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace eCollege
{
public partial class Form12 : Form
{
public Form12()
{
InitializeComponent();
}

private void Form12_Load(object sender, EventArgs e)


{

private void label4_Click(object sender, EventArgs e)


{

private void b1_Click(object sender, EventArgs e)


{
string ADD, Search;
ADD = t1.Text;
Search = t2.Text;

string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=


ecollege;Integrated Security=True;Encrypt=False";

SqlConnection con = new SqlConnection(connectionstring);


con.Open();
string Id, Name, Addres, Pasword, Phone;
Id = t1.Text;
Name = t2.Text;
Addres = t3.Text;
Pasword = t4.Text;
Phone = t5.Text;

string q = "insert into accountant values(@a,@b,@c,@d,@e)";


SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@a", Id);
cmd.Parameters.AddWithValue("@b", Name);
cmd.Parameters.AddWithValue("@c", Addres);
cmd.Parameters.AddWithValue("@d", Pasword);
cmd.Parameters.AddWithValue("@e", Phone);

cmd.ExecuteNonQuery();
MessageBox.Show("Account Registered Successfully...\nKindly notedown your password for future
communication", "Success");
t1.Text = "";
t2.Text = "";
t3.Text = "";
t4.Text = "";
t5.Text = "";

private void b2_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
string Faculty;
Faculty = t1.Text;

string q = "delete from Account where Phone=@p";


SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@p", Faculty);

cmd.ExecuteNonQuery();
MessageBox.Show("account Details deleted Successfully...:", "Success");
t1.Text = "";

private void b4_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
DataTable dt = new DataTable();
SqlDataAdapter adapt;
adapt = new SqlDataAdapter("select * from Account", con);
adapt.Fill(dt);
// dataGridView1.DataSource = dt;
con.Close();
}

private void b3_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
string Faculty;
Faculty = t1.Text;

string q = "update Account set address=@t, Password=@u where Phone=@p";


SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@t", t3.Text);
cmd.Parameters.AddWithValue("@u", t4.Text);

cmd.Parameters.AddWithValue("@p", Faculty);

cmd.ExecuteNonQuery();
MessageBox.Show("Account Details Updated Successfully...:", "Success");
t1.Text = "";

private void b2_Click_1(object sender, EventArgs e)


{

private void button1_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
DataTable dt = new DataTable();
SqlDataAdapter adapt;
adapt = new SqlDataAdapter("select * from result", con);
adapt.Fill(dt);
dataGridView1.DataSource = dt;
con.Close();
}
}
}
ADMISSIONS

using Microsoft.VisualBasic.ApplicationServices;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Net.Sockets;
using System.Text;
using System.Threading.Tasks;
using System.Data.SqlClient;
using System.Windows.Forms;

namespace eCollege
{
public partial class Form13 : Form
{
public Form13()
{
InitializeComponent();
}

private void label10_Click(object sender, EventArgs e)


{

private void b1_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();

String fname, sem, father, gender, dob, mobile, gmail, college, duration, address;
fname = t1.Text;
sem = c1.Text;
father = t2.Text;
if (r1.Checked)
gender = "male";
else
gender = "female";
dob = d1.Text;
mobile = t4.Text;
gmail = t5.Text;
college = t6.Text;
duration = c2.Text;
address = t8.Text;
string q = "insert into newadmission values(@a,@b,@c,@d,@e,@f,@g,@h,@i,@j)";
SqlCommand cmd = new SqlCommand(q, con);
cmd.Parameters.AddWithValue("@a", fname);
cmd.Parameters.AddWithValue("@b", gender);
cmd.Parameters.AddWithValue("@c", dob);
cmd.Parameters.AddWithValue("@d", mobile);
cmd.Parameters.AddWithValue("@e", gmail);
cmd.Parameters.AddWithValue("@f", sem);
cmd.Parameters.AddWithValue("@g", college);
cmd.Parameters.AddWithValue("@h", duration);
cmd.Parameters.AddWithValue("@i", address);
cmd.Parameters.AddWithValue("@j", father);

cmd.ExecuteNonQuery();
MessageBox.Show("Faculty Registered Successfully...\nKindly notedown your password
for future communication", "Success");

private void b2_Click(object sender, EventArgs e)


{

private void button1_Click(object sender, EventArgs e)


{
string connectionstring = "Data Source=desktop-3fnal6o;Initial Catalog=ecollege;Integrated Security=
True;Encrypt=False";
SqlConnection con = new SqlConnection(connectionstring);
con.Open();
DataTable dt = new DataTable();
SqlDataAdapter adapt;
adapt = new SqlDataAdapter("select * from newadmission", con);
adapt.Fill(dt);
dataGridView1.DataSource = dt;
con.Close();
}
}
}
Output Screens
Outputs of all modules are given below sequencially :-

1.Login

2.Main
(.)Book isshu

(.) MENU OF COLLEGE

(.)Book return

79
Home page

Add Students
Add Faculty
ADD ADMISSIONS
CHAPTER.5 CONCLUSION

To conclude,

1. College Management System is a simple desktop based application basically suitable for small
organization.

2. It has every basic items which are used for the small organization.

3. Here, we can update, insert and delete the item as per the requirement.

4. Through it has some limitations, we strongly believes that the implementation of this system will
surely benefit the organization.

82
10. BIBLIOGRAPHY

REFERENCES
[1] Article [Online]. Available:http://www.businessdictionary.com/definition/management.html
[Accessed March 11, 2013].

[2] E-Learning [Online]. Available:http://www.bsiamerica.com/en-us/Assessment-and-Certification-


services/Management-systems/At-a-glance/What-are-management-systems/[Accessed Sept. 5, 2012].
[3]Terry Lucey,” Management Information Systems” ninth Edition, INFOSEC
, NationalSystems Security Glossary NST1SS no.4009, 1999.[4]

Margaret Rouse., "MIS (management of information systems", [Online]. Available:http:


//searchdatacenter.techtarget.com/definition/MIS. [Accessed March, 2007][5] Records Management,
[Online]. Available:https://www.reading.ac.uk/internal/imps/recordsmanagement/
imps-recordsmanagement.aspx. html. [Accessed Aug. 28, 2013]. [6] C# Programming Language
Future Features. [Online].Available:http://msdn.microsoft.com/en-us/library/aa289180(v=vs.71)
.aspx [Accessed Feb. 22, 2012][7] About the .NET Framework.[Online].Available:

You might also like