0% found this document useful (0 votes)
45 views72 pages

Alumni Portal

Uploaded by

Stark
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)
45 views72 pages

Alumni Portal

Uploaded by

Stark
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/ 72

ALUMNI PORTAL

A Project Report submitted to


Bishop Heber College (Autonomous), Tiruchirappalli
Affiliated to Bharathidasan University, Tiruchirappalli –620024
In partial fulfillment of the requirements for the award of the degree of

Bachelor of Vocation in Information Technology

By
K.DHARANI
(Register No:195915112)

Under the guidance of


Dr.J.JOHN RAYBIN JOSE, M.Sc., M.C.A,M.Phil, PGDCA

Department of Information Technology


Bishop Heber College (Autonomous)
(Nationally Re-accredited with ‘A’ Grade by NAAC with a CGPA of 3.58 out of 4)
(Recognized by UGC as “College of Excellence”)
Tiruchirappalli – 620 017

NOVEMBER 2020
Department of Information Technology
Bishop Heber College (Autonomous)
Tiruchirappalli – 620 017, Tamilnadu, India
Phone No. : 0431 – 277 0136

CERTIFICATE

The Viva-Voce Examination for the candidate K. DHARANI


(Reg. No. 195915112) was held on .

Signature of the HOD

Examiners:

1.

2.
Dr.J.JOHN RAYBIN JOSE, M.Sc., M.C.A,M.Phil, PGDCA
Associate Professor and Head,
Department of information technology,
Bishop Heber College (Autonomous),
Tiruchirappalli – 620 017

Date:

CERTIFICATE
This is to certify that the project work entitled “ALUMNI PORTAL” is a bonafide

work done under my supervision by K. Dharani (Reg. No. 195915112) and submitted to

Bishop Heber College (Autonomous), Tiruchirappalli – 620 017 in partial fulfilment of the

requirements for the award of the degree of Bachelor of Vocation in Information Technology

during the odd semester of the academic year (2020-2021).

Signature of the Guide


DECLARATION

I hereby declare that the work presented in this project work report is the original
work done by me under the guidance of Dr.J.JOHN RAYBIN JOSE, M.Sc., M.C.A,M.Phil,
PGDCA, Associate Professor and Head , Department of information technology, Bishop Heber
College (Autonomous), Tiruchirappalli – 620 017 and has not been included in any other
project work submitted for any other degree.

Name of the Candidate : K. DHARANI

Register Number : 195915112

Semester : THIRD

Academic Year : 2020-2021

Course code : U19ITPJ3

Signature of the Candidate


ACKNOWLEDGEMENT

First of all, I would thank ALMIGHTY GOD to give abundant grace. Good health and
knowledge to do this Project.

I express my sincere gratitude to Dr.D.PAUL DHAYABARAN, M.Sc., M.Phil.


PGDCA., Ph.D., Principal of Bishop Heber College (Autonomous), Tiruchirapalli for his
blessings.

I am highly indebted to thank Dr.J.JOHN RAYBIN JOSE, M.Sc., M.C.A,M.Phil,


PGDCA, Associate Professor and Head, Department of InformationTechnology, Bishop
Heber College (Autonomous), Trichy for having grand me permission to proceed with this
project.

I wish to place on record my gratitude to Dr.J.JOHN RAYBIN JOSE, M.Sc.,


M.C.A,M.Phil, PGDCA, Associate Professor and Head, Department of Information
Technology, Bishop Heber College (Autonomous), Trichy for his support during this project
work.

I record my deep sense of gratitude to my beloved parents and my friends for their
encouragement and moral support extended during the period of my project.

K. DHARANI
SYNOPSIS

The aim of this “ALUMNI PORTAL” project is to build a system that will be
able to manage alumni data of a college and provide easy access. New college students will
be initially given a student login Id. The administrator is responsible for maintaining
information of students, alumni and events. When a student submits the registration form,
administrator will complete the verification process and, if successful, the student details are
added into the database. When admin add, delete, update the details of the students, alumni and
events, student/alumni can view their details or alumni details and they can also view the details
of the events. This system also provides easy access to the students to easily obtain information
about other registered users. It is very difficult to do this process manually. Hence it is
recommended to computerize the process by developing the relative software as the world is
turning into information and technology.
CONTENT

CHAPTER TITLE PAGE.NO

1 INTRODUCTION 1

2 SYSTEM STUDY 2

2.1. PROJECT DESCRIPTION 2

2.1.1. EXISTING SYSTEM 2

2.1.2 PROPOSED SYSTEM 2

3 REQUIREMENT ANALYSIS 4

3.1 HARDWARE REQUIREMENTS 4

3.2 SOFTWARE REQUIREMENTS 4

4 SYSTEM DESIGN 6

4.1 LOGICAL DESIGN 6

4.2 DATABASE DESIGN 7

4.2.1 DATAFLOW DIAGRAM 8

4.2.2 MODULE DESCRIPTION 8

5 SYSTEM DEVOLPMENT 10

5.1 PROGRAM DEVOLPMENT 10

6 SYSTEM TESTING 50

6.1 UNIT TESTING 50

6.2 INTEGRATION TESTING 51

6.3 VALIDATION TESTING 52

7 SYSTEM IMPLEMENTATION 53

8 CONCLUSION 64

BIBLIOGRAPHY 65
1.INTRODUCTION

Alumni Portal is used to maintain the details of the students/alumni of the college.
This also maintains the events information conducted by the college. This system will
automatically list all the students of the Colleges as alumni on their graduation and transfer
their student module to alumni module. This application students will be provided with a
username and password. Student once registered will be member of the alumni information
portal. He can search the details of the other student. This system also provides easy access
to the students to easily obtain information about other registered users. Alumni Portal is to
help administrator to manage information. This system is used for student records and alumni
records to maintain their details. Hence it is recommended to computerize the process by
developing the relative software as the world is turning into information and technology. In
this portal, only owner or administrator can operate the system. It is very difficult to do this
process manually.

1
2.SYSTEM STUDY

System study consists of organizing file and project description. Organization profile
includes the particular amount the client company. Project description includes existing and
proposed system.

2.1PROJECT DESCRIPTION

2.1.1 EXISTING SYSTEM

In the existing process the major problem is considered as a manual work which leads
to an error status and considered to be an issue in record maintenance. Due to manual work
there are chances for manual errors and the records retrieval is a serious issue. The details are
not stored in an efficient way so that the customers as well as the admin can manage the entire
system in a prominent way.

Many institutions, colleges and universities maintain the information manually about present
and past students. This does not allow efficient data management and retrieval process. A
student willing to get information about others has to approach the college and obtain the
details. Often the information may not be available and misleading.

Disadvantages

• It is very risky & time taken process.


• Hard to make changes.
• Leads to manual errors.

2.1.2 PROPOSED SYSTEM

In proposed system introducing an innovative application for Alumni Portal System.


The application is a highly secure system. The administrator can easily check the details of the
students, alumni and events. Another feature, admin can easily add, update and delete the
details.

2
This application allows the students to register and then search the data based on different
criteria. Also it has the benefit of having a centralized database and up to data information. A
user can easily obtain information about other registered users.

Advantages

• The system is useful as it shows the exact details.


• It is convenient for user to search information in an easy way.
• This system is effective and saves time.
• Easy registration.

3
3.REQUIREMENT ANALYSIS

3.1 HARDWARE REQUIREMENTS

The hardware requirements may serve as the basis for a contract for the implementation
of the system and should therefore be a complete and consistent specification of the whole
system. They are used by software engineers as the starting point for the system design.

• Processor : Intel processor 1.80 GHz


• RAM : 2GB
• Hard disk : 500 GB
• Keyboard : Standard keyboard
• Mouse : Standard mouse

3.2 SOFTWARE REQUIREMENTS:

The software requirements document is the specification of the system. It should


include both a definition and a specification of requirements. It is useful in estimating cost,
planning team activities and performing tasks throughout the development activity.

• Front End : ASP.NET


• Back End : MYSQL
• Operating System : Windows 10
• System type : 64-bit Operating System

Operating System

An operating system is software that communicate with the hardware and allows
other to run. It comprises the system software, and other utilities. The Operating system used
as platform to develop this project in windows 10 Home Single Language.

4
Programming Language

.NET is a free, cross-platform, open source developer platform for building many
different types of applications. You can write .NET apps in C#, F#, or Visual Basic. C# is a
simple, modern, object-oriented, and type-safe programming language. F# is a cross-platform,
open-source, functional programming language for .NET. It also includes object-oriented and
imperative programming. Visual Basic is an approachable language with a simple syntax for
building type-safe, object-oriented apps. Whether you're working in C#, F#, or Visual Basic,
your code will run natively on any compatible OS. Different .NET implementations handle the
heavy lifting for you: .NET Core is a cross-platform .NET implementation for websites,
servers, and console apps on Windows, Linux, and macOS. .NET Framework supports
websites, services, desktop apps, and more on Windows.

Sql server:

Microsoft SQL Server is a relational database server, developed by Microsoft. It is a


software product whose primary function is to store and retrieve data as requested by other
software applications, be it those on the same computer or those running on another computer
across a network (including the Internet). There are at least a dozen different editions of
Microsoft SQL Server aimed at different audiences and for different workloads.

5
4.SYSTEM DESIGN

System design represents the project diagrammatically using the logical shapes.
Systems design is the process of defining the architecture, components, modules, interfaces,
and data for a system to satisfy specified requirements. Systems design could be seen as the
application of systems theory to product development.

4.1LOGICAL DESIGN

Logical design is an abstract concept in computer programming by which


programmers arrange data in a series of logical relationships known as attributes or entities.
An entity refers to a chunk of information, whereas an attribute defines the unique properties.

ALUMNI PORTAL

ADMIN STUDENT/ALUMNI

REGISTER
LOGIN

LOGIN

Add alumni details


View alumni details

Add student details


View student details

Add event details View event details

Database

Fig. 4.1 Logical Design of Alumni Portal

6
4.2DATABASE DESIGN

Database design is the process of producing a detailed data model of database.


This data model contains all the needed logical and physical design choices and physical
storage parameters needed to generate a design in a data definition language, which can then
be used to create a database. A fully attributed data model contains detailed attributes for each
entity. A good database design is important in ensuring consistent data, elimination of data
redundancy, efficient execution of queries and high performance application. Taking the time
to design a database saves time and frustration during development, and a well-designed
database ensures ease of access and retrieval of information.

Field name Datatype Description Sample Values


Name varchar(50) Specify the student/alumni name Darla
Gender varchar(50) Specify the gender Female
Mobile No. varchar(50) Specify the mobile number 9048579899
Address varchar(50) Specify the address 22,Santa Street,
Mumbai ,India.
Category varchar(50) Specify the category Student
Reg No. varchar(50) Specify the register number IT08
DOB varchar(50) Specify the date of birth 29/08/2001
Email varchar(50) Specify the mail id [email protected]
Department varchar(50) Specify the department IT
Year varchar(50) Specify the year 2019
Event varchar(50) Specify the event name Workshop
Place varchar(50) Specify the place Seminar Hall
Date varchar(50) Specify the date of the event 20/09/2020
Time varchar(50) Specify the event time 10:00

Fig. 4.2 Database Design Concert Ticket Booking Management System

7
4.2.1DATAFLOW DIAGRAM

Data Flow Diagram (DFD) provides a visual representation of the flow of information
(i.e. data) within a system. By drawing a Data Flow Diagram, you can tell the information
provided by and delivered to someone who takes part in system processes, the information
needed in order to complete the processes and the information needed to be stored and accessed.

STUDENT/ALUMNI LOGIN ADMIN LOGIN

ALUMNI
HOME CONTACT US
PORTAL

Fig. 4.2.1 Dataflow Diagram of Concert Ticket Booking Management System

4.2.2 MODULE DESCRIPTION

A module is a software component or part of a program that contains one or more


routines. One or more independently developed modules make up a program. An enterprise-
level software application may contain several different modules, and each module serves
unique and separate business operations. Modules make a programmer's job easy by allowing
the programmer to focus on only one area of the functionality of the software application.
Modules are typically incorporated into the program (software) through interfaces.

8
MODULES

➢ Admin
o Login
o Add Alumni details
o Add Student Details
o Add Event Details
➢ User
o Register
o Login
o View Alumni Details
o View Student Details
o View Event Details

Admin login
It has admin login who is the authority of the system and he is responsible for
approving and disapproving the users request. Admin can add details of the student/alumni and
event details.

Adding Details:

Admin who is the authority if the system, can add, delete, update and search the
details of the student, alumni and event.

Student/Alumni Registration

There is user registration form available where new users can create their
account by providing required information to the system.

Searching Details:

Student/Alumni who have account and registered can view the details of the
student, alumni and event.

9
5.SYSTEM DEVELOPMENT

System development is one of the main aspect in this project. This means a program
with the help of that program of which the system works. System Development is actually a
coding which would be accurately made from which we must compile accordingly and run the
program. Every language has their own personal coding.

5.1PROGRAM DEVELOPMENT

Systems development is the process of defining, designing, testing, and implementing


a new software application or program. It could include the internal development of customized
systems, the creation of database systems, or the acquisition of third party developed software.
Written standards and procedures must guide all information systems processing functions.
The organization’s management must define and implement standards and adopt an appropriate
system development life cycle methodology governing the process of developing, acquiring,
implementing, and maintaining computerized information systems and related technology.

Source Code

WELCOME PAGE:

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;

10
using System.Windows.Forms;

namespace ALUMNI_PORTAL

public partial class Form1 : Form

public Form1()

InitializeComponent();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form2 ob = new Form2();

ob.Show();

private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form3 ob = new Form3();

ob.Show();

private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

11
Form4 ob = new Form4();

ob.Show();

private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form15 ob = new Form15();

ob.Show();

HOME PAGE:

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 ALUMNI_PORTAL

12
public partial class Form2 : Form

public Form2()

InitializeComponent();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form1 ob = new Form1();

ob.Show();

STUDENT LOGIN:

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;

using System.Data.SqlClient;

13
namespace ALUMNI_PORTAL

public partial class Form3 : Form

public Form3()

InitializeComponent();

private void panel1_Paint(object sender, PaintEventArgs e)

private void button1_Click(object sender, EventArgs e)

SqlConnection con = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\loginfor
mnew.mdf;Integrated Security=True;Connect Timeout=30");

SqlDataAdapter Sda = new SqlDataAdapter("select count(*) From Login where


Username='" + textBox1.Text + "' and Password ='" + textBox2.Text + "'", con);

DataTable dt = new DataTable();

Sda.Fill(dt);

if (dt.Rows[0][0].ToString() == "1")

MessageBox.Show("Login Success");

Form11 ob = new Form11();

ob.Show();

14
}

else

MessageBox.Show("Invalid username or password");

private void button2_Click(object sender, EventArgs e)

Form1 ob = new Form1();

ob.Show();

private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form6 ob = new Form6();

ob.Show();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form5 ob = new Form5();

ob.Show();

15
REGISTRATION PAGE(ALUMNI):

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;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form6 : Form

string g;

string c;

public Form6()

InitializeComponent();

private void Form6_Load(object sender, EventArgs e)

16
}

private void button1_Click(object sender, EventArgs e)

if (radioButton1.Checked == true)

g = "Male";

else

g = "Female";

if (radioButton3.Checked==true)

c = "Alumni";

else

c = "student";

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\Regalu
mni.mdf;Integrated Security=True;Connect Timeout=30");

connection.Open();

string sql = "INSERT INTO


[Table01](Name,Gender,Mobileno,Address,Category,Regno,DOB,Email,Department,Year)V
ALUES('" + textBox1.Text + "','" + g + "','" + textBox2.Text + "','" + textBox3.Text + "','" +
c + "','" + textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" +
textBox7.Text + "','" + textBox8.Text + "')";

17
SqlCommand cmd = new SqlCommand(sql, connection);

cmd.ExecuteNonQuery();

MessageBox.Show("Submitted successfully");

private void button2_Click(object sender, EventArgs e)

Form3 ob = new Form3();

ob.Show();

REGISTRATION PAGE(STUDENT):

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;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

18
public partial class Form5 : Form

string g;

public Form5()

InitializeComponent();

private void button1_Click(object sender, EventArgs e)

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\regstude
nt.mdf;Integrated Security=True;Connect Timeout=30");

connection.Open();

string sql = "INSERT INTO


[Table](Name,Gender,Mobileno,Address,Regno,DOB,Email,Department)VALUES('" +
textBox1.Text + "','" + g + "','" + textBox2.Text + "','" + textBox3.Text + "','" +
textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" + textBox7.Text + "')";

SqlCommand cmd = new SqlCommand(sql, connection);

cmd.ExecuteNonQuery();

MessageBox.Show("Submitted successfully");

private void button2_Click(object sender, EventArgs e)

Form3 ob = new Form3();

ob.Show();

19
}

STUDENT LOGIN PAGE:

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 ALUMNI_PORTAL

public partial class Form11 : Form

public Form11()

InitializeComponent();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form12 ob = new Form12();

ob.Show();

20
private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form13 ob = new Form13();

ob.Show();

private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form14 ob = new Form14();

ob.Show();

private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form1 ob = new Form1();

ob.Show();

VIEW ALUMNI DETAILS:

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

21
using System.Linq;

using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form12 : Form

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\Regalu
mni.mdf;Integrated Security=True;Connect Timeout=30");

public Form12()

InitializeComponent();

private void button1_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table01] where Name = '" + textBox1.Text +


"'";

cmd.ExecuteNonQuery();

DataTable dt = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

22
da.Fill(dt);

dataGridView1.DataSource = dt;

connection.Close();

private void button2_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table01]";

cmd.ExecuteNonQuery();

DataTable dta = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dta);

dataGridView1.DataSource = dta;

connection.Close();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form11 ob = new Form11();

ob.Show();

23
}

VIEW STUDENT DETAILS:

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;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form13 : Form

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\DB_Ser
ver2.mdf;Integrated Security=True;Connect Timeout=30");

public Form13()

InitializeComponent();

private void button1_Click(object sender, EventArgs e)

24
connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [MyTable] where Name = '" + textBox1.Text +


"'";

cmd.ExecuteNonQuery();

DataTable dt = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dt);

dataGridView1.DataSource = dt;

connection.Close();

textBox1.Text = "";

public void Display_data()

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [MyTable]";

cmd.ExecuteNonQuery();

DataTable dta = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dta);

dataGridView1.DataSource = dta;

connection.Close();

25
private void button2_Click(object sender, EventArgs e)

Display_data();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form11 ob = new Form11();

ob.Show();

private void Form13_Load(object sender, EventArgs e)

VIEW EVENT DETAILS:

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

26
using System.Threading.Tasks;

using System.Windows.Forms;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form14 : Form

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\Event_D
B.mdf;Integrated Security=True;Connect Timeout=30");

public Form14()

InitializeComponent();

private void button1_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table] where Event = '" + textBox1.Text + "'";

cmd.ExecuteNonQuery();

DataTable dt = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dt);

dataGridView1.DataSource = dt;

connection.Close();

27
textBox1.Text = "";

public void Display_data()

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table]";

cmd.ExecuteNonQuery();

DataTable dta = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dta);

dataGridView1.DataSource = dta;

connection.Close();

MessageBox.Show("record Displayed successfully");

private void button2_Click(object sender, EventArgs e)

Display_data();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form11 ob = new Form11();

ob.Show();

28
}

ADMIN LOGIN:

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;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form4 : Form

public Form4()

InitializeComponent();

private void button1_Click(object sender, EventArgs e)

29
SqlConnection con = new SqlConnection(@"Data
Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\loginfor
m.mdf;Integrated Security=True;Connect Timeout=30");

SqlDataAdapter Sda = new SqlDataAdapter("select count(*) From Login where


Username='" + textBox1.Text + "' and Password ='" + textBox2.Text + "'", con);

DataTable dt = new DataTable();

Sda.Fill(dt);

if (dt.Rows[0][0].ToString() == "1")

MessageBox.Show("Login Success");

Form7 ob = new Form7();

ob.Show();

else

MessageBox.Show("Invalid Name or Password");

private void button2_Click(object sender, EventArgs e)

Form1 ob = new Form1();

ob.Show();

30
ALUMNI LOGIN PAGE:

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 ALUMNI_PORTAL

public partial class Form7 : Form

public Form7()

InitializeComponent();

private void linkLabel4_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form1 ob = new Form1();

ob.Show();

private void linkLabel2_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

31
{

Form8 ob = new Form8();

ob.Show();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form9 ob = new Form9();

ob.Show();

private void linkLabel3_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form10 ob = new Form10();

ob.Show();

ADD ALUMNI DETAILS:

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

using System.Text;

32
using System.Threading.Tasks;

using System.Windows.Forms;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form8 : Form

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\Regalu
mni.mdf;Integrated Security=True;Connect Timeout=30");

string g;

string c;

public Form8()

InitializeComponent();

private void Form8_Load(object sender, EventArgs e)

private void button1_Click(object sender, EventArgs e)

if (radioButton1.Checked == true)

g = "Male";

33
}

else

g = "Female";

if (radioButton3.Checked == true)

c="Alumni";

else

c="Student";

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "insert into [Table01]


(Name,Gender,MobileNo,Address,Category,RegNo,DOB,Email,Department,Year) values('"
+ textBox1.Text + "','" + g + "','" + textBox2.Text + "','" + textBox3.Text + "','"+c+"','" +
textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" + textBox7.Text +
"','"+textBox8.Text+"')";

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

g = "";

textBox2.Text = "";

textBox3.Text = "";

c = "";

34
textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

textBox8.Text = "";

Display_data();

MessageBox.Show("record Added successfully");

public void Display_data()

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table01]";

cmd.ExecuteNonQuery();

DataTable dta = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dta);

dataGridView1.DataSource = dta;

connection.Close();

private void button2_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

35
cmd.CommandText = "update [Table01] set MobileNo = '" + textBox2.Text + "'
where Name = '" + textBox1.Text + "'";

cmd.CommandType = CommandType.Text;

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

g = "";

textBox2.Text = "";

textBox3.Text = "";

c = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

textBox8.Text = "";

Display_data();

MessageBox.Show("record updated successfully");

private void button3_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "delete from [Table01] where Name = '" + textBox1.Text + "'";

cmd.ExecuteNonQuery();

connection.Close();

36
textBox1.Text = "";

g = "";

textBox2.Text = "";

textBox3.Text = "";

c = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

textBox8.Text = "";

Display_data();

MessageBox.Show("record deleted successfully");

private void button4_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table01] where Name = '" + textBox1.Text +


"'";

cmd.ExecuteNonQuery();

DataTable dt = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dt);

dataGridView1.DataSource = dt;

connection.Close();

37
textBox1.Text = "";

g = "";

textBox2.Text = "";

textBox3.Text = "";

c = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

textBox8.Text = "";

private void button5_Click(object sender, EventArgs e)

Display_data();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form7 ob = new Form7();

ob.Show();

38
ADD STUDENT DETAILS:

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;

using System.Data.SqlClient;

namespace ALUMNI_PORTAL

public partial class Form9 : Form

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\DB_Ser
ver2.mdf;Integrated Security=True;Connect Timeout=30");

string g;

public Form9()

InitializeComponent();

private void label5_Click(object sender, EventArgs e)

39
}

private void Form9_Load(object sender, EventArgs e)

private void button1_Click(object sender, EventArgs e)

if (radioButton1.Checked == true)

g = "Male";

else

g = "Female";

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "insert into [MyTable]


(Name,Gender,MobileNo,Address,RegNo,DOB,Email,Department) values('" +
textBox1.Text + "','" + g + "','" + textBox2.Text + "','" + textBox3.Text + "','" +
textBox4.Text + "','" + textBox5.Text + "','" + textBox6.Text + "','" + textBox7.Text + "')";

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

g = "";

40
textBox2.Text = "";

textBox3.Text = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

Display_data();

MessageBox.Show("record Added successfully");

public void Display_data()

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [MyTable]";

cmd.ExecuteNonQuery();

DataTable dta = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dta);

dataGridView1.DataSource = dta;

connection.Close();

private void button2_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

41
cmd.CommandType = CommandType.Text;

cmd.CommandText = "update [MyTable] set MobileNo = '" + textBox2.Text + "'


where Name = '" + textBox1.Text + "'";

cmd.CommandType = CommandType.Text;

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

g = "";

textBox2.Text = "";

textBox3.Text = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

Display_data();

MessageBox.Show("record updated successfully");

private void button3_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "delete from [MyTable] where Name = '" + textBox1.Text +


"'";

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

42
g = "";

textBox2.Text = "";

textBox3.Text = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

Display_data();

MessageBox.Show("record deleted successfully");

private void button4_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [MyTable] where Name = '" + textBox1.Text +


"'";

cmd.ExecuteNonQuery();

DataTable dt = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dt);

dataGridView1.DataSource = dt;

connection.Close();

textBox1.Text = "";

g = "";

textBox2.Text = "";

43
textBox3.Text = "";

textBox4.Text = "";

textBox5.Text = "";

textBox6.Text = "";

textBox7.Text = "";

private void button5_Click(object sender, EventArgs e)

Display_data();

ADD EVENT DETAILS:

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;

using System.Data.SqlClient;

44
namespace ALUMNI_PORTAL

public partial class Form10 : Form

SqlConnection connection = new SqlConnection(@"Data


Source=(LocalDB)\MSSQLLocalDB;AttachDbFilename=C:\Users\Dell\Documents\Event_D
B.mdf;Integrated Security=True;Connect Timeout=30");

public Form10()

InitializeComponent();

private void button1_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "insert into [Table] (Event,Place,Date,Time) values('" +


textBox1.Text + "','" +textBox2.Text + "','" + textBox3.Text + "','" + textBox4.Text + "')";

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

textBox2.Text = "";

textBox3.Text = "";

textBox4.Text = "";

Display_data();

MessageBox.Show("record inserted successfully");

45
public void Display_data()

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "select * from [Table]";

cmd.ExecuteNonQuery();

DataTable dta = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dta);

dataGridView1.DataSource = dta;

connection.Close();

MessageBox.Show("record Displayed successfully");

private void button2_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "update [Table] set Place = '" + textBox2.Text + "' where Event
= '" + textBox1.Text+ "'";

cmd.CommandType = CommandType.Text;

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

textBox2.Text = "";

46
textBox3.Text = "";

textBox4.Text = "";

Display_data();

MessageBox.Show("record updated successfully");

private void button3_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

cmd.CommandText = "delete from [Table] where Event = '" + textBox1.Text + "'";

cmd.ExecuteNonQuery();

connection.Close();

textBox1.Text = "";

textBox2.Text = "";

textBox3.Text = "";

textBox4.Text = "";

Display_data();

MessageBox.Show("record deleted successfully");

private void button4_Click(object sender, EventArgs e)

connection.Open();

SqlCommand cmd = connection.CreateCommand();

cmd.CommandType = CommandType.Text;

47
cmd.CommandText = "select * from [Table] where Event = '" + textBox1.Text + "'";

cmd.ExecuteNonQuery();

DataTable dt = new DataTable();

SqlDataAdapter da = new SqlDataAdapter(cmd);

da.Fill(dt);

dataGridView1.DataSource = dt;

connection.Close();

textBox1.Text = "";

textBox2.Text = "";

textBox3.Text = "";

textBox4.Text = "";

private void button5_Click(object sender, EventArgs e)

Display_data();

CONTACT US:

using System;

using System.Collections.Generic;

using System.ComponentModel;

using System.Data;

using System.Drawing;

using System.Linq;

48
using System.Text;

using System.Threading.Tasks;

using System.Windows.Forms;

namespace ALUMNI_PORTAL

public partial class Form15 : Form

public Form15()

InitializeComponent();

private void linkLabel1_LinkClicked(object sender, LinkLabelLinkClickedEventArgs e)

Form1 ob = new Form1();

ob.Show();

49
6.SYSTEM TESTING

System testing is the process of evaluation a software item to detect differences


between given input and expected output. Also, to assess the mobile management processing.
Testing assesses the quality of the product. Software testing is a process that should be done
during the development process. In other words, software testing is a verification and
validation process.

6.1UNIT TESTING

Unit testing focuses verification effort on the smallest unit of software design the
module. Using the procedural design description as a guide important control paths are
tested to uncover the errors within the boundary of the module. The relative complexity of
the tests and uncovered errors is limited by the constrained scope for unit testing.

6.1Unit Testing

50
6.2INTEGRATION TESTING

Integration Testing is the phase in software testing in which individual software


modules are combined and tested as a group. It occurs after unit testing and before
validation testing. The record which we add, delete, modify and payment it can be even be
seen in the list of records.

6.2User Menu

51
6.3VALIDATION TESTING

Validation testing begins with the help of spiral and concentrates on each unit of
the limitation of the software as implemented in the source code. Initially test focus on
each individually, assuring it the functions properly as a unit. Hence the name is Validation
testing. Validation testing makes heavy usage of limiting techniques, exercising the
specific path of the required desire of choosing and in a module’s control structure to
ensure complete coverage the maximum data detection.

6.3 Validation Testing

7. SYSTEM IMPLEMENTATION

52
Implementation is the stage of the project when the theoretical design is turned out
working system. Thus, it can be consider being the most critical stage m achieving successful
new system and in giving the user, confidence that the new system will week and he effective
The main objective of this user manual is to introduce the user manual is to introduce he user
with the available facilities in the Download Manager It provides a conceptual overview of the
functioning of the system and the detailed discussion and reports.

7.1SCREENSHOTS

Fig. 7.1 Welcome Page

53
Fig. 7.2 Home Page

Fig. 7.3 Admin Login

54
Fig. 7.4 Admin Login Page

Fig. 7.5 Adding Alumni Details

55
Fig. 7.6 Adding Student Details

Fig. 7.7 Adding Event Details

56
Fig. 7.8 Event Updated

Fig. 7.9 Event Deleted

57
Fig. 7.10 Searching Event Details

Fig. 7.11 Displaying Event Details

58
Fig. 7.12 Alumni/Student Login

Fig. 7.13 Registration Form(Alumni)

59
Fig. 7.14 Registration Form(Students)

Fig. 7.15 Student/Alumni Login Page

60
Fig. 7.16 View Alumni Details

Fig. 7.17 View Student Details

61
Fig.7.18 Displaying Events

Fig. 7.19 Searching Events

62
Fig. 7.20 Contact Us

63
8.CONCLUSION

The project “Alumni Portal” is implemented to reduce the manual work and enhances
the accuracy of work in an Universities. The admin can maintain all the details such as
registration , details of the students, alumni and events. This project is also designed with
full consideration to help the users in an easy manner without any unnecessary wastage of
time. The details are maintained in a digitalized manner and the entire reports are gathered
for future reference. Reduces the manual works in the system and enhances the systematic
approach to improve the entire process. The complete reference are managed by the admin.
It has been a matter of immense pleasure, honor and challenge to have this
opportunity to take up this project and complete it successfully. While developing this project
I have learnt lot about Alumni Portal. I have also learnt how to make it user friendly by
hiding the complicated parts of it from the users. During the development process I studied
carefully and understood the criteria for making software more demanding, I also realized
the importance of maintaining a minimal margin for error.

64
BIBLIOGRAPHY

1. ASP.NET 4.5, Covers C# and VB Codes, Black Book” by Kogent Learning


Solutions Inc
2. Christian Nagel et al” Beginning Visual C# “, September 2001
3. Christian Nagel et al ”Data-Centric .NET Programming,” December 2001
4. Christian Nagel et al “Professional .NET Network Programming” 2nd edition,
September 2004
5. Ingo Rammer ,“Advanced .NET Remoting in VB.NET”, July 2002

Web Reference:
1. http://www.asp.net
2. https://www.tutorialspoint.com/
3. http://www.osbrone.com
4. www.aspdotnetTutorial.com
5. https://www.w3schools.com/

65

You might also like