0% found this document useful (0 votes)
49 views74 pages

Sport Management System

The Sport Management System (SMS) is a project developed by Dhanraj Mangesh Ghadi for his B.Sc. in Information Technology, aimed at streamlining sports management through functionalities like event scheduling, performance analytics, and team communication. The system is designed to enhance administrative efficiency, provide data-driven insights, and improve collaboration among stakeholders in the sports ecosystem. The project includes detailed specifications, advantages, and disadvantages, as well as a methodology for development using ASP.NET.

Uploaded by

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

Sport Management System

The Sport Management System (SMS) is a project developed by Dhanraj Mangesh Ghadi for his B.Sc. in Information Technology, aimed at streamlining sports management through functionalities like event scheduling, performance analytics, and team communication. The system is designed to enhance administrative efficiency, provide data-driven insights, and improve collaboration among stakeholders in the sports ecosystem. The project includes detailed specifications, advantages, and disadvantages, as well as a methodology for development using ASP.NET.

Uploaded by

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

Sport Management System (SMS)

SPORTS
MANAGEMENT
SYSTEM

1
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Shikshan Vikas Mandal’s


SHRI S.H. KELKAR COLLEGE OF
ARTS, COMMERCE & SCIENCE,
DEVGAD, DIST – SINDHUDURG.

DEVGAD
COLLEGE

DEPARTMENT OF INFORMATION TECHNOLOGY


LABORATORY CERTIFICATE

This is to certify that, Mr. Dhanraj Mangesh Ghadi of T.Y. B.Sc. Information
Technology Class Bearing Examination Seat number has satisfactorily carried
out project on Sport Management System as laid down by the University
of Mumbai for the year. 2023-2024. His bonafied work was completed under
the guidance Dr. OMKAR GHATAGE.

Place: - Devgad
Date: - / /202

Project supervisor Examiner Head of department

2
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

A PROJECT REPORT ON

“Sport Management System”


Submitted to

The University of Mumbai

For partial / Fulfillment of

B. Sc. Information Technology


By

Mr. Dhanraj Mangesh Ghadi


Under the guidance of
Dr. Omkar Ghatage
Through
Department of Information Technology
Shri S. H. Kelkar college of Arts,
Commerce & Science
Devgad Dist: - Sindhudurg
2023-2024

3
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

ACKNOWLEDGEMENT
I take this opportunity to express my deep gratitude and whole hearted
thanks to project guide Dr. Omkar Ghatage, Coordinator for his
guidance throughout this work. I am very much thankful to him for
his constant encouragement, support and kindness. I am also grateful
to our teachers Mrs. Mugdha Deodhar, Mrs. Rutuja Rajvardhan, for
their encouragement, help and support from time to time. I also wish
to express my sincere thanks to Principal for providing me wide range
of opportunities, facilities and inspiration to gather professional
knowledge and material without which this project could not have
been completed.

4
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

INTRODUCTION

Sport Management System an innovative solution crafted to


redefine the way we navigate and administer the world of sports.
Developed with precision and dedication, this platform seamlessly
integrates diverse functionalities to streamline the management of
sporting events, teams, and resources. As we embark on this digital
journey, our goal is to empower organizations, athletes, and
enthusiasts with a comprehensive tool that enhances collaboration,
efficiency, and the overall experience of sports management.
Whether you're an event organizer, team manager, or an avid
sports follower, the Sport Management System caters to your unique
needs. From intuitive event scheduling and real-time performance
analytics to robust team communication tools, our platform is
designed to elevate the entire sports ecosystem. Join us in embracing
this dynamic interface—a testament to our commitment to fostering
excellence, transparency, and camaraderie within the exciting realm of
sports management.
 The “Sport Management System” is software project
platform to manage the activity of many sports and the
collection of the data of the students in the college.
 Providing web facility to the sport council and to publish the
achievements into the sports of the college in to the university
level.

5
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

OBJECTIVES

Sport Management System (SMS) revolve around enhancing the


overall efficiency and effectiveness of sports-related operations.
Firstly, an SMS aims to streamline administrative tasks such as player
registration, match scheduling, and financial management. By
automating these processes, sports organizations can significantly
reduce the burden on administrative staff, minimize errors, and ensure
smoother day-to-day operations.
Sport Management System (SMS) is designed to provide
comprehensive insights through data analytics. The system's objective
is to collect, analyze, and present valuable data related to player
performance, team dynamics, and fan engagement. This data-driven
approach empowers sports organizations to make informed decisions,
improve strategic planning, optimize training programs, and
ultimately enhance the overall experience for players and fans alike.
In essence, the key objectives of a Sport Management System are to
optimize administrative workflows and leverage data for strategic
decision-making, thereby elevating the performance and engagement
levels within the sports ecosystem.
1. Understanding the function of the management
process.
2. Register the Data of students into College Sport
Council, which will helpful to the Sport Administration
and to keep track on the student progress,
scheduling and more.
3. Updating of upcoming Sports event competition into
the various level zones to the College students.
4. The admin can check the report Data of the sports
aspirants, Data storing can be easier.
5. Also this Web platform give the Basic information of
the Sports.

6
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

6. Providing the requirements and Designing of the


Websites, which will fulfil and Userfriendly to the
Sport Council.

7
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SOFTWARE AND HARDWARE REQUIREMENTS


SPECIFICATIONS

•Software: -

Every application needs the software in which it has to be


executed and a hardware the application is going to perform its
function. Some application cannot run on every platform and
some applications needs some specific requirement in the
software or in hardware to get operated. Let’s take an example
of the applications which cannot be run on every platform like
windows, android, Linux, etc. Applications made in visual basic,
visual code and visual studio is only supported for the windows,
one cannot access these applications from the mobile phones,
etc. So, here are some hardware and software specifications
which are mandatory for the application to get operated.

•User interface: -
▪ HTML has been used for developing the User Layout for
the system.
▪ CSS has been used for designing the web pages of the
system.

•Hardware: -
❖ Processor : - Intel Pentium IV or more

❖ Ram : - 512MB or more

❖ Cache : - 1MB

❖ Hard Disk : - 10GB recommended

8
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

•Software interface: -

▪ Client on internet: -Web Browser, Operating System (any).


▪ Web Server :- Operating System (any).
▪ Database :- SQL Server.
▪ Scripting language :- HTML, CSS, Asp.NET.
▪ Software Required :- Visual Studio and More.

•Functional requirements: -

o SQL Server database has been used for storing the data of
the website.
o We have used HTML for server-side scripting so the
current version of HTML must be available on the server.
o HTML has been used for creating the layout of the web
application.
o CSS has been used for creating the designing of the
webpages.

9
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

ANALYSIS

Sports Management System (SMS), the analysis involves a


meticulous examination of the specific needs and dynamics within the
university sports context. Requirements must be thoroughly assessed
through engagement with university sports administrators, coaches,
and student athletes to understand their unique workflows and
expectations. The SMS should incorporate features tailored to
university sports, including academic integration for student athletes,
team registration, match scheduling, and communication tools. In
terms of data analysis, attention must be given to structuring
information related to student athlete profiles, academic records, and
sports facilities on campus. This analysis phase lays the foundation
for a comprehensive and customized SMS that not only addresses the
administrative aspects of sports management but also aligns with the
academic environment of the university, contributing to a holistic
solution for effective sports administration within the educational
institution.

Requirement Analysis :
For a Sports Management System (SMS) designed as a
university project, the requirement analysis is a critical initial phase.
This involves engaging with potential users, such as university sports
administrators, coaches, and possibly student athletes, to understand
their needs and expectations. Requirements may include
functionalities like user authentication, team registration, match
scheduling, result tracking, and communication tools. Special
attention should be given to features relevant to university sports,
such as academic integration for student athletes, event coordination,
and facilities management. Clear documentation of these requirements
provides a roadmap for the development process and ensures that the

10
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SMS aligns with the specific context of a university sports


environment.

Data Analysis :
In the context of a university project, the data analysis phase
involves defining the types of data that the SMS will handle. This
includes student athlete profiles, academic records, team statistics,
and information about sports facilities on campus. Consideration
should be given to data privacy and compliance with university
policies. The design of the database should facilitate effective data
storage and retrieval, supporting the planned functionalities of the
SMS. Additionally, for academic integration, the SMS may need to
interface with student information systems to ensure accurate and up-
to-date academic records for student athletes. Properly analyzing and
structuring the data is essential to the success of the university project,
ensuring that the SMS captures and manages information relevant to
both sports management and academic requirements within the
university setting.

11
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SYSTEM

System Construction:
In constructing a Sport Management System (SMS) using
ASP.NET, developers typically begin by creating the foundational
structure of the application. ASP.NET allows for the construction of
dynamic web pages and applications through the use of server-side
scripting and a model-view-controller (MVC) architecture.
Developers design and code the application's backend logic, including
modules for user authentication, session management, and the
handling of user inputs. ASP.NET facilitates the creation of reusable
components, enhancing the maintainability and scalability of the
system. The construction phase involves writing code in C#, utilizing
ASP.NET controls for UI elements, and implementing the necessary
business logic to ensure smooth operation.

Database Connecting:
Connecting the SMS to a database is a crucial aspect of the
development process. ASP.NET seamlessly integrates with database
management systems, such as Microsoft SQL Server, providing a
robust mechanism for data storage and retrieval. Developers design
the database schema to store information related to players, teams,
matches, and other relevant entities. Using ASP.NET's built-in data
access technologies like Entity Framework or ADO.NET, developers
establish connections between the application and the database. This
allows for efficient querying and updating of data, ensuring that the
SMS can dynamically retrieve and display information based on user
interactions.

12
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Design:
The design phase involves creating a user-friendly and visually
appealing interface for the SMS. ASP.NET offers a flexible
framework for designing responsive web pages that adapt to various
screen sizes and devices. Developers utilize HTML, CSS, and
JavaScript alongside ASP.NET controls to craft intuitive user
interfaces. The design process includes creating layouts for player
registration forms, match schedules, and dashboard views. ASP.NET
supports the use of master pages and templates, enabling consistent
styling throughout the application. Additionally, developers
implement client-side scripting to enhance interactivity, providing a
seamless user experience. The design phase ensures that the SMS not
only functions efficiently but also offers an engaging and visually
pleasing interface for administrators, coaches, players, and fans.

13
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SCOPE OF PROJECT

The scope of developing a Sport Management System (SMS) is


vast and holds immense potential for transforming the sports industry.
Firstly, the system can encompass various administrative aspects,
including player registration, match scheduling, and financial
management. This administrative scope streamlines operations,
reduces manual workload, and ensures accuracy in data management,
fostering efficient day-to-day functioning of sports organizations.

Expanding the scope further, an SMS can integrate advanced


features for performance analysis and data-driven decision-making.
This involves capturing and analysing player statistics, team
dynamics, and fan engagement metrics. The system can offer real-
time insights, enabling sports organizations to optimize strategies,
improve training programs, and create a more engaging experience for
both players and fans. This analytical scope positions the SMS as a
valuable tool for gaining a competitive edge and enhancing the overall
performance and enjoyment within the sports ecosystem.

Additionally, the scope extends to enhancing communication


and collaboration among stakeholders. The system can incorporate
interactive platforms, messaging systems, and fan engagement tools,
fostering a connected sports community. This not only improves the
overall fan experience but also strengthens the relationships between
players, coaches, officials, and supporters. In summary, the scope of
developing a Sport Management System is broad, covering
administrative efficiency, data-driven decision-making, and
community engagement to revolutionize the sports management
landscape.

14
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

ADVANTAGES &
DISADVANTAGES

 Advantages :-

1. The system also does the selection procedure


to the college level and the university level
competitions.
2. To the college level all the player are allowed
to play. Whereas to the university level, the
best players will be selected form the college
level list will be also saved and displayed in
the database.
3. Current system provides different access
levels of security.
4. Rich user interface is provided in order to
interact with application.
5. Reports are generated dynamically on a
periodic basis.
6. The system will be user friendly and easy to
use.

 Disadvantages :-

1. Lack of security.
2. The system does not provide category wise
classifications of products.
3. Inefficiency in querying details.
4. Periodic report generation takes lot of time.
5. Initial setup, Developing, Maintaining a sports
management website requires technical
expertise and ongoing maintenance.

15
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SPECIFICATION

Creating a Sport Management System using ASP.NET


involves defining a comprehensive set of specifications to
guide the development process. Firstly, the system should
have a user-friendly interface that facilitates easy
navigation for administrators, coaches, players, and fans.
This includes designing intuitive dashboards for tasks such
as player registration, match scheduling, and financial
tracking. Utilizing ASP.NET's web development capabilities,
the interface can be responsive and accessible across
various devices, ensuring a seamless experience for users.

The system must incorporate robust database


management to store and retrieve critical sports-related
data efficiently. ASP.NET provides a powerful framework for
database integration, allowing developers to design a
relational database that captures player profiles, team
statistics, match results, and other relevant information.
Implementing secure authentication and authorization
mechanisms is crucial to protect sensitive data, ensuring
that only authorized personnel have access to specific
functionalities within the Sport Management System.

Furthermore, leveraging ASP.NET's capabilities for real-time


communication and dynamic content updates can enhance
the overall user experience. Integrating features such as
instant messaging, live score updates, and interactive
forums can foster community engagement. Additionally,
the system should be scalable to accommodate the
16
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

evolving needs of sports organizations, whether it be a


local league or a professional franchise. By adhering to
these specifications, a Sport Management System
developed in ASP.NET can offer a robust, user-friendly, and
scalable solution for optimizing sports-related operations.

METHODOLOGY & DEVELOPMENT


The development of a Sport Management System typically follows a
systematic methodology to ensure a well-structured and functional
outcome. Here's an overview of the development process:

1. Requirement Analysis:
Begin by conducting a thorough analysis of the requirements.
Engage stakeholders, including administrators, coaches, players, and
fans, to identify their needs and expectations. Define the features and
functionalities required for tasks such as player registration, match
scheduling, data analytics, and communication channels.

2. System Design:
Once the requirements are clear, move on to system design. Create
detailed architectural plans, outlining the structure of the system,
database schema, and user interfaces. Utilize tools like Unified
Modeling Language (UML) to visualize the system components and
their interactions. Ensure that the design aligns with the scalability,
security, and performance requirements of the Sport Management
System.

3. Technology Stack Selection:


Choose appropriate technologies for development. Since you're
interested in using ASP.NET, make decisions on the ASP.NET

17
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

framework version, database management system (e.g., SQL Server),


and any additional libraries or frameworks that may be required.
Consider factors such as platform compatibility, ease of integration,
and community support.

4. Development:
Implement the system according to the design specifications. Use
the chosen technology stack to build the user interfaces, backend
logic, and database interactions. Follow coding best practices, adhere
to coding standards, and consider modular development to facilitate
easier maintenance and updates.

5. Testing:
Conduct thorough testing to ensure the system functions as
intended. Perform unit testing, integration testing, and system testing
to identify and address any bugs or issues. Additionally, conduct
usability testing to ensure a positive user experience.

6. Deployment:
Prepare the Sport Management System for deployment. This
involves configuring servers, databases, and other necessary
components. Ensure that all security measures are in place, such as
secure data transmission and proper user authentication.

7. Maintenance and Updates:


After deployment, monitor the system's performance and address
any issues that may arise. Plan for regular maintenance to apply
updates, security patches, and new features as needed. Stay
responsive to user feedback to continuously improve the system.

18
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

By following a well-defined methodology, you can systematically


approach the development of a Sport Management System, ensuring
that it meets the needs of users and sports organizations effectively.

19
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

ARCHITECHTURE
The Sport Management System college website adopts a robust three-
tier architecture to ensure scalability, maintainability, and efficient
data flow. At the presentation layer, the user interface is designed to
provide an intuitive and user-friendly experience. This layer leverages
modern web technologies, such as HTML5, CSS3, and JavaScript, to
create responsive and interactive interfaces accessible across various
devices. Additionally, the incorporation of a responsive design ensures
optimal usability on desktops, tablets, and mobile devices, catering to
the diverse preferences and needs of the college community.

In the middle tier, the application logic is implemented, managing the


core functionalities of the Sport Management System. Using a server-
side scripting language, this layer orchestrates the communication
between the presentation layer and the data layer. It encompasses
features like event scheduling, team registration, and performance
tracking. The application logic also ensures the secure handling of
user authentication, safeguarding sensitive data and maintaining the
integrity of the sports management processes. At the data layer, a
relational database management system (RDBMS) like MySQL or
PostgreSQL is employed to store and retrieve information related to
sports events, teams, and user profiles. This tier ensures data
consistency and enables seamless retrieval and storage of information,
supporting the overall efficiency and effectiveness of the Sport
Management System.

20
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

FEASIBILITY
A Sport Management System (SMS) can significantly enhance the
efficiency and organization of sports-related activities. Firstly, such a
system can streamline administrative tasks by automating processes
like player registration, scheduling of matches, and tracking of player
statistics. This not only reduces the workload on administrators but
also minimizes the chances of errors associated with manual data
entry.

Secondly, a well-designed SMS can provide valuable insights through


data analytics. By collecting and analyzing data on player
performance, team dynamics, and fan engagement, sports
organizations can make informed decisions to improve team
strategies, optimize training programs, and enhance the overall fan
experience. This data-driven approach can lead to better outcomes
both on and off the field.

Furthermore, the feasibility of a Sport Management System lies in its


ability to foster communication and collaboration among various
stakeholders, including players, coaches, officials, and fans. Features
like real-time updates, instant messaging, and interactive platforms
can connect the sports community, creating a more engaged and
supportive environment.

Lastly, the adaptability of a Sport Management System to different


sports and organizational structures enhances its feasibility. Whether
it's a local community league or a professional sports franchise, a
well-tailored SMS can be customized to meet specific needs, making
it a scalable solution for sports organizations of varying sizes and
complexities. Overall, the feasibility of a Sport Management System
is rooted in its capacity to bring efficiency, data-driven decision-

21
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

making, enhanced communication, and adaptability to the dynamic


world of sports management.

22
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

CATEGORIES IN PROJECT (SMS)


Team Management:
The Team Management category within the Sport Management
System on the college website serves as a central hub for organizing
and overseeing all aspects related to college sports teams.
Administrators can efficiently handle team registrations, maintain up-
to-date player profiles, and manage team rosters. This category
facilitates seamless communication between coaches and players,
ensuring that team information is accurate and easily accessible. With
features tailored to the college sports environment, such as academic
integration for student athletes, this category becomes an essential
tool for fostering a sense of teamwork and coordination among
athletes.

Match Scheduling and Results:


The Match Scheduling and Results category plays a pivotal role in
organizing and presenting the sports calendar on the college website.
Coaches can easily schedule upcoming matches, providing detailed
information about venues and opponents. This category also allows
for the timely input of match results, keeping players and fans
informed about the outcomes. Real-time updates contribute to the
dynamic nature of the college sports scene, fostering excitement and
engagement. By centralizing scheduling and results, this category
enhances the visibility and accessibility of sports events, encouraging
broader participation and support.

Communication Hub and Fan Engagement:


The Communication Hub and Fan Engagement category is designed
to promote effective communication and community building within
the college sports ecosystem. This section includes messaging tools,
announcements, and notifications to keep athletes, coaches, and sports
enthusiasts well-informed. Additionally, interactive platforms, live

23
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

score updates, and forums contribute to fan engagement, creating a


vibrant and supportive sports community. By facilitating seamless
communication and interaction, this category enhances the overall
experience for everyone involved, from athletes striving for success to
fans passionately supporting their teams.

24
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

REPORT
This report outlines the implementation and impact of a Sport
Management System (SMS) integrated into the college website. The
purpose of this system is to streamline sports-related administrative
processes, enhance communication within the college sports
community, and provide a centralized platform for accessing relevant
information. By incorporating features tailored to the college
environment, the SMS aims to optimize the overall sports
management experience for both administrators and students.

The SMS seamlessly integrates with the college website, offering


features such as user-friendly team registration, match scheduling, and
real-time updates on sports events. The website serves as a hub for
accessing sports-related information, including player profiles, team
statistics, and match results. With an intuitive interface, the SMS on
the college website facilitates easy navigation and engagement,
promoting a sense of community among students, coaches, and sports
enthusiasts. This integration not only enhances the visibility of college
sports but also provides a platform for efficient communication, event
coordination, and the dissemination of important announcements. The
SMS on the college website emerges as a centralized and accessible
tool that contributes to the vibrancy of the college sports culture.

25
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

CONCLUSION
In conclusion, a well-implemented Sport Management System (SMS)
serves as a pivotal tool in revolutionizing the landscape of sports
administration. By automating administrative processes, such as
player registration and match scheduling, the system significantly
reduces the workload on administrators, minimizing errors and
enhancing operational efficiency. The integration of data analytics
provides sports organizations with valuable insights into player
performance, team dynamics, and fan engagement, empowering them
to make informed decisions that can positively impact strategic
planning and overall team success.

Moreover, the SMS fosters improved communication and


collaboration among stakeholders, creating a more connected sports
community. Real-time updates, interactive platforms, and fan
engagement tools contribute to a heightened and immersive
experience for players and supporters alike. The scalability and
adaptability of the system make it suitable for diverse sports
organizations, from local community leagues to professional
franchises.

In essence, a Sports Management System, when thoughtfully


designed and implemented, goes beyond mere administrative
automation. It becomes a catalyst for data-driven decision-making,
community building, and the overall enhancement of the sports
ecosystem. As technology continues to advance, the continuous
evolution and integration of such systems will likely play a crucial
role in shaping the future of sports management.

26
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

27
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

28
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

29
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

DATABASE
DESIGN

30
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Database Connectivity (SQL Server)


Connecting the Sport Management System to the SQL Server
database, which includes a table called "register" involves configuring
the application with the server's details, authentication credentials,
and database name. Once this connection is established, the system
can perform operations such as storing and retrieving data from the
"register" table, facilitating tasks like user registration within the
Sport Management System. Ensuring data security measures is
essential throughout the process.
TABLE:register
Column Name Data Type Constraint
Surname varchar(50) -
First_name varchar(50) -
Father_name varchar(50) -
Mother_name varchar(50) -
Email varchar(50) -
DOB varchar(50) -
PRN_no varchar(50) -
Roll_no varchar(50) -
Gender varchar(50) -
Employee varchar(50) -
Phone_no varchar(50) -
Adharcard_no varchar(50) Primary Key
Games varchar(50) -
Events varchar(50) -
Participate varchar(50) -
Course varchar(50) -

31
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Class varchar(50) -
Password varchar(50) -
Photo varchar(50) -
College_id varchar(50) -
Adharcard_pic varchar(50) -
SSC_cert varchar(50) -
HSC_mrk varchar(50) -
Surname varchar(50) -

"Adharcard_no" is the primary key in the "register" table indicates


that it uniquely identifies each record in that table. Therefore, for
project determination, you might consider using a query or logic that
involves the "Adharcard_no" to retrieve relevant information or
perform actions related to the project.

32
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SYSTEM
CODING
&
TESTING

33
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SOURCE CODE
Master Page(main.master):-

<%@ Master Language="C#" AutoEventWireup="true" CodeFile="main.master.cs" Inherits="main"


%>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<asp:ContentPlaceHolder id="head" runat="server">
</asp:ContentPlaceHolder>
<link rel="stylesheet" href="Home.css">
<link rel="stylesheet" href="css/all.css">
<link rel="stylesheet" href="css/all.min.css">
<link rel="stylesheet" href="css/fontawesome.css">
<link rel="stylesheet" href="css/fontawesome.min.css">
<style>. . . </style>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ContentPlaceHolder id="ContentPlaceHolder1" runat="server">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading">
<p1>Sport Management System</p1>
</div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
<ul>
<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>
<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin
Login</a></li>
</ul>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a>
</li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li>
</ul>
</div>
</header>
<div class="rcon">

34
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

</div>
<div class="cont"></div>
<!----------------------------------------------------------------------------------------
Footer----------------------------------->
<footer>
<div class="col1"> <h4>Useful Links</h4>
<ul>
<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands fa-facebook"></i>
Facebook</a></li>
<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands fa-internet-explorer"></i>
[email protected]</a></li>
</ul>
</div>
<div class="col2">
<h4>Address</h4>
<a href="#">
<p><i class="fa-solid fa-location-dot"></i>
Smt Neerabai Parkar Vidyanagri </br>A/P Devgad, Sindhudurg, Maharashtra,
</br>Devgad 416613, India
</p></a>
</div>
<div class="col3">
<h4>Contact Info</h4>
<ul>
<li><a href="[email protected]"><i class="fa-solid
fa-envelope"></i>[email protected]</a></li>
<li><i class="fa-solid fa-phone"></i> +91 94220 71492</li>
</ul>
</div>
</footer></asp:ContentPlaceHolder></div></form></body></html>

35
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Home Page (Home.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="Home.aspx.cs" Inherits="Home" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style>
</style>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading">
<p1>
Sport Management System</p1>
</div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
<ul>
<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>
<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>
</ul>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a>
</li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li>
</ul>
</div>
</header>
<div class="rcon">
</div>
<div class="hcont">
<div class="hcontainer">
<div class="hbtn">
<a onclick="nextimg(-1)" class="prev">&#10094;</a>
<a onclick="nextimg(1)" class="next">&#10095;</a>
</div>
<div class="hdot">
<span class="dots" onclick="currentSlide(1)"></span>
<span class="dots" onclick="currentSlide(2)"></span>
<span class="dots" onclick="currentSlide(3)"></span>
<span class="dots" onclick="currentSlide(4)"></span>
<span class="dots" onclick="currentSlide(5)"></span>
<span class="dots" onclick="currentSlide(6)"></span>
</div>
<div class="himg">
<img src="imgs\GAME.jpg" alt="">
</div>
<div class="himg">
<img src="imgs\D1.jpg" alt="">
</div>
<div class="himg">
<img src="imgs\G2.jpg" alt="">

36
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

</div>
<div class="himg">
<img src="imgs/medal.jpg" />
</div>
<div class="himg">
<img src="imgs/Long%20jump.jpg" />
</div>
<div class="himg">
<img src="imgs/group.jpg" />
</div>
</div>
</div>
</div>
<!----------------------------------------------------------------------------------------Footer----------------------------------->
<footer>

<div class="col1"><h4>Useful Links</h4><ul>

<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands


fa-facebook"></i>Facebook</a></li>

<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands


fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>

<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,


Sindhudurg, Maharashtra,<br></br>

Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>

<li><a href="[email protected]"><i class="fa-solid


fa-envelope"></i>[email protected]</a></li>

<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>


<script>
var imageno = 1;
function nextimg(n) {
displayimg(imageno += n);
}
function currentSlide(n) {
displayimg(imageno = n)
}
function displayimg(n) {
var i;
var himg = document.getElementsByClassName("himg ");
if (n > himg.length) {
imageno = 1;
}
if (n < 1) {
imageno = himg.length;
}
for (i = 0; i < himg.length; i++) {
himg[i].style.display = "none";
}
himg[imageno - 1].style.display = "block";
}
</script>
</asp:Content>

37
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Student-Login Page (Student.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="Student.aspx.cs" Inherits="Student" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<style>...</style>

</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">

<header class="head">

<div class="logo">

<img src="imgs/123devgad.jpg" alt="" srcset="" >

</div>

<div class="heading"><p1>

Sport Management System</p1>

</div>

<div class="nav"><ul>

<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>

<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>

<ul>

<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>

<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>

</ul>

</li>

<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>

<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a>

</li>

<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>

<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li>

</ul></div>

</header>

<div class="rcon2">

<li><a href="Admin.aspx" ><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li></div>

<div class="cont2">

<div class="f1">

38
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<form action="SL">

<h1 style="text-align:center;letter-spacing: 2px;color: aliceblue; border-radius: 30px;padding:


10px;">Student Login</h1>

<div class="ipbox">

<asp:TextBox ID="logid" class="input" runat="server" placeholder="Enter Adharcard


Number.." ></asp:TextBox>

<i class="fa-solid fa-user"></i></div>

<div class="ipbox">

<asp:TextBox ID="logpas" class="input" runat="server" placeholder="Password....."


TextMode="Password" ></asp:TextBox>

<i class="fa-solid fa-lock"></i></div>

<div class="forrem">

<a href="#">Forgot Password?</a>

<asp:Label ID="error" runat="server" ForeColor="Red" Visible="False"></asp:Label></div>

<asp:Button ID="Stndtlgn" class="btn" runat="server" Text="Login"


OnClick="Stndtlgn_Click" />

<div class="rlink">

<p>Don't have an Account?<a href="Register.aspx">Register</a></p>

</div></form></div></div>

<!----------------------------------------------------------------------------------------Footer----------------------------------->

<footer>

<div class="col1"><h4>Useful Links</h4><ul>

<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands


fa-facebook"></i>Facebook</a></li>

<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands


fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>

<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,


Sindhudurg, Maharashtra,<br></br>

Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>

<li><a href="[email protected]"><i class="fa-solid


fa-envelope"></i>[email protected]</a></li>

<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

39
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Admin-Login Page (Admin.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="Admin.aspx.cs" Inherits="Admin" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style>...</style>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading">
<p1>
Sport Management System</p1>
</div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
<ul>
<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>
<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>
</ul>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a>
</li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li></ul></div></header>
<div class="rcon2">
<li><a href="Student.aspx" ><i class="fa-solid fa-school"></i>Student Login</a></li>
</div><div class="cont2"><div class="f1"><form action="SL">
<h1 style="text-align:center;letter-spacing: 2px;color: aliceblue; border-radius: 30px;padding:
10px;">Admin Login</h1><div class="ipbox">
<asp:TextBox ID="adminid" class="input" runat="server" placeholder="Enter Admin ID."
TextMode="Password" ></asp:TextBox>
<i class="fa-solid fa-user"></i></div><div class="ipbox">
<asp:TextBox ID="adminpas" class="input" runat="server" placeholder="Password"
TextMode="Password" ></asp:TextBox>
<i class="fa-solid fa-lock"></i></div><div class="forrem">
<asp:Label ID="labadmin" runat="server" Visible="False"
ForeColor="Red"></asp:Label></div>
<asp:Button ID="Adminsbt" class="btn" runat="server" Text="Login" OnClick="Adminsbt_Click"
/></form></div></div>
<!----------------------------------------------------------------------------------------Footer----------------------------------->
<footer>

40
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<div class="col1"><h4>Useful Links</h4><ul>


<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands
fa-facebook"></i>Facebook</a></li>
<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands
fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>
<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,
Sindhudurg, Maharashtra,<br></br>
Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>
<li><a href="[email protected]"><i class="fa-solid
fa-envelope"></i>[email protected]</a></li>
<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

41
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Register Page (Register.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="Register.aspx.cs" Inherits="Register" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">


<style>...</style>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading"><p1>
Sport Management System</p1></div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a>
</li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li></ul></div>
</header>
<div class="rcon2"></div>
<div class="cont2" ><div class="f2"><form action="Reg">
<h1>Register</h1>
<table style="width:100%; margin:0px 3%"><tr class="ipbox2">
<td class="auto-style1">
<label> Surname: </label><asp:TextBox ID="surname" class="input" runat="server"
placeholder="Surname." ></asp:TextBox></td>
<td class="auto-style2">
<label> First Name: </label><asp:TextBox ID="firstname" class="input" runat="server"
placeholder="First Name." ></asp:TextBox></td></tr>
<tr class="ipbox2">
<td class="auto-style1">
<label> Father's Name: </label>
<asp:TextBox ID="fathersname" class="input" runat="server" placeholder="Father's Name."
></asp:TextBox> </td>
<td class="auto-style2">
<label> Mother's Name: </label>
<asp:TextBox ID="mothersname" class="input" runat="server" placeholder="Mother's
Name." ></asp:TextBox></td></tr>
<tr class="ipbox2">
<td class="auto-style1">
<label> Email: </label>
<asp:TextBox ID="email" class="input" runat="server"
placeholder="Email."></asp:TextBox></td>
<td class="auto-style2">
<label> Date of Birth: </label>
<asp:TextBox ID="DOB" class="input" runat="server" placeholder="dd/mm/yyyy"
TextMode="Date"></asp:TextBox> </td></tr>
<tr class="ipbox2">
<td class="auto-style1">
<label> PRN no: </label>
<asp:TextBox ID="prnno" class="input" runat="server" placeholder="PRN
no."></asp:TextBox></td>

42
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<td class="auto-style2"><label>Roll no.:</label><asp:TextBox ID="rollno" class="input"


runat="server" placeholder="Roll no." ></asp:TextBox>
</td></tr><tr class="ipbox2"><td>
&nbsp;</td><td>&nbsp;</td>
</tr><tr class="ipbox2"><td class="auto-style1"><span><label
class="l1">Gender:</label><asp:RadioButtonList ID="gender" runat="server" CellPadding="1"
CellSpacing="3" RepeatDirection="Horizontal"
><asp:ListItem>Male</asp:ListItem><asp:ListItem>Female</asp:ListItem>
<asp:ListItem>Others</asp:ListItem></asp:RadioButtonList></span></td><td class="auto-
style2"><span><label class="l1"> Weather you are Employeee:</label></span><asp:RadioButtonList
ID="employee" runat="server" CellSpacing="3" RepeatDirection="Horizontal" >
<asp:ListItem>Yes</asp:ListItem><asp:ListItem>No</asp:ListItem></asp:RadioButtonList></td></tr><tr
class="ipbox2">
<td class="auto-style1">
<label> Phone no.: </label>
<asp:TextBox ID="phoneno" class="input" runat="server" placeholder="Phone no."
TextMode="Phone" ></asp:TextBox>
</td>
<td class="auto-style2">
<label>Adharcard no.:</label>
<asp:TextBox ID="adharcard" class="input" runat="server" placeholder="Adhar-card no."
></asp:TextBox></td> </tr>
<tr class="ipbox2"><td>
<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server"
ControlToValidate="phoneno" Display="Dynamic" ErrorMessage="*Please check your Phone no..."
ForeColor="Red" ValidationExpression="^\d{10}$"></asp:RegularExpressionValidator>
</td><td>
<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server"
ControlToValidate="adharcard" Display="Dynamic" ErrorMessage="*Please check your Adharcard no..."
ForeColor="Red" ValidationExpression="^\d{12}$"></asp:RegularExpressionValidator>
<asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server"
ControlToValidate="adharcard" ErrorMessage="*Please enter Your Adharcard number...."
ForeColor="Red"></asp:RequiredFieldValidator>
</td></tr>
<tr class="ipbox2">
<td class="auto-style1">
<label> Games: </label>
<asp:DropDownList ID="games" class="input"
runat="server"><asp:ListItem>None</asp:ListItem><asp:ListItem>Others</asp:ListItem>
<asp:ListItem>Cricket</asp:ListItem><asp:ListItem>Football</asp:ListItem><asp:ListItem>Kabaddi</
asp:ListItem><asp:ListItem>Kho-Kho</asp:ListItem><asp:ListItem>Handball</
asp:ListItem><asp:ListItem>Boxing</asp:ListItem><asp:ListItem>Athletics</
asp:ListItem><asp:ListItem>Swimming</asp:ListItem><asp:ListItem>Weightlifting</
asp:ListItem><asp:ListItem>Wrestling</asp:ListItem><asp:ListItem>Cycling</
asp:ListItem><asp:ListItem>Batminton</asp:ListItem>
<asp:ListItem>Volleyball</asp:ListItem><asp:ListItem>Archery</asp:ListItem><asp:ListItem>Basketball</
asp:ListItem></asp:DropDownList></td><td class="auto-style2"><label>Events: <b
style="color:#003c8e;font-size:10px;">(*Any Athletic Event or Other Game...)</b></label>
<asp:TextBox ID="events" class="input" runat="server" placeholder="Events"
></asp:TextBox></td></tr><tr class="ipbox2"><td class="auto-style1" >
<label> No. of Games Participated in Inter-Collegiate Tournament (This Year): </label>
<asp:DropDownList ID="participate" class="input"
style="height:40px;margin:10px;width:50%;" runat="server"><asp:ListItem>None</asp:ListItem>
<asp:ListItem>1</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>3</asp:ListItem></
asp:DropDownList></td></tr><tr class="ipbox2">
<td class="auto-style1">
<label> Present Course: </label>
<asp:DropDownList ID="course" class="input" style="height:40px;" placeholder="Add your
Course..." runat="server"><asp:ListItem>None</asp:ListItem><asp:ListItem>Science</
asp:ListItem><asp:ListItem>Commerce</asp:ListItem><asp:ListItem>Arts</

43
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

asp:ListItem><asp:ListItem>B.Com</asp:ListItem><asp:ListItem>B.A</asp:ListItem><asp:ListItem>BMS</
asp:ListItem><asp:ListItem>BBI</asp:ListItem><asp:ListItem>B.Sc
IT</asp:ListItem><asp:ListItem>M.Com</asp:ListItem><asp:ListItem>M.Sc</
asp:ListItem><asp:ListItem>M.A</asp:ListItem></asp:DropDownList></td>
<td class="auto-style2">
<label>Present Class:</label>
<asp:DropDownList ID="clas" class="input" style="height:40px;"
runat="server"><asp:ListItem>None</asp:ListItem><asp:ListItem>11 th.</asp:ListItem><asp:ListItem>12
th.</asp:ListItem><asp:ListItem>First Year.</asp:ListItem><asp:ListItem>Second
Year.</asp:ListItem><asp:ListItem>Third Year.</asp:ListItem></asp:DropDownList></td></tr>
<tr class="ipbox2">
<td class="auto-style1">
<label> Password: </label>
<asp:TextBox ID="password" class="input" runat="server" placeholder="Password..."
TextMode="Password"></asp:TextBox>
</td>
<td class="auto-style2">
<label>Confirm Password:</label>
<asp:TextBox ID="cpassword" class="input" runat="server" placeholder="Confirm
Password..." TextMode="Password" ></asp:TextBox>
</td></tr><tr class="ipbox2">
<td>
<asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server"
ControlToValidate="password" Display="Dynamic" ErrorMessage="*Please Create your Password...."
ForeColor="Red"></asp:RequiredFieldValidator></td><td>
<asp:CompareValidator ID="CompareValidator1" runat="server"
ControlToCompare="password" ControlToValidate="cpassword" ErrorMessage="*Please Confirm Your
Password..." ForeColor="Red" Display="Dynamic"></asp:CompareValidator>
</td></tr> <tr class="ipbox2"> <td class="auto-style1"><label>
Photo:</label>
<asp:FileUpload ID="photo" class="input" runat="server" /></td> <td class="auto-style2">
<marquee style="background-color:rgba(0, 0, 0, 0.32);border-radius:20px;box-shadow:0 0 10px
rgb(120, 200, 196); letter-spacing:1.5px; color:white; padding:2px; width:90%;margin-top:5px;"><strong
style="color:#f00;">Upload</strong><u>Your Files in Good ans Clear Format</u>.....
</marquee></td></tr><tr class="ipbox2"><td class="auto-style1"><label> College-ID:
</label><asp:FileUpload ID="colgeid" class="input" runat="server" /></td><td class="auto-
style2"><label>Adhar-Card:</label><asp:FileUpload ID="adcrdpic" class="input" runat="server"
/></td></tr><tr class="ipbox2"><td class="auto-style1"><label><b style="color: rgb(26, 23, 23);">SSC
</b>Board Certificate: </label>
<asp:FileUpload ID="sscert" class="input" runat="server" /></td><td class="auto-
style2"><label><b style="color: rgb(26, 23, 23);">HSC </b>Marksheet:</label>
<asp:FileUpload ID="hscmrk" class="input" runat="server" /></td></tr></table><br /><div
class="btn2"><asp:Button ID="rgter" class="r1b" runat="server" Text="Submit" OnClick="rgter_Click"
/></div> </form></div></div>
<!----------------------------------------------------------------------------------------Footer----------------------------------->
<footer>
<div class="col1"><h4>Useful Links</h4><ul>
<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands
fa-facebook"></i>Facebook</a></li>
<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands
fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>
<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,
Sindhudurg, Maharashtra,<br></br>
Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>
<li><a href="[email protected]"><i class="fa-solid
fa-envelope"></i>[email protected]</a></li>
<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

44
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Game page (Game.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="Game.aspx.cs" Inherits="Game" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading">
<p1>
Sport Management System</p1>
</div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
<ul>
<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>
<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>
</ul>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a> </li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li>
</ul>
</div>
</header>
<div class="rcon">
<li ><a href="Indoor.aspx"><i class="fa-solid
fa-table-tennis-paddle-ball"style="font-size:1.2rem;"></i>Indoor</a></li>
<li><a href="Outdoor.aspx"><i class="fa-solid fa-futbol"style="font-size:1.2rem;"></i>Outdoor</a></li>
<li><a href="WSport.aspx"><i class="fa-solid fa-person-swimming"style="font-size:1.2rem;"></i>Water
Sport</a></li>
<li><a href="Athletics.aspx"><i class="fa-solid
fa-person-running"style="font-size:1.2rem;"></i>Athletics</a></li>
</div>
<div class="cont">
<div class="info">
<h1 style=" background-color: rgb(153, 248, 243);">Sports</h1>
<p><b>Sports / Games</b> encompass a wide range of physical activities and competitions that
involve skill, strategy, and often, a degree of physical exertion.
The primary purpose of sports is usually to provide entertainment, promote physical fitness, and
foster social interaction. Sports can be broadly categorized into team sports
(e.g., soccer, basketball, and hockey), individual sports (e.g., tennis, golf, and swimming), and other
competitive activities like athletics, gymnastics, and combat sports.
The history of sports dates back to ancient civilizations,with various forms evolving over time to
become the organized and globally popular activities we know today.</p>
<div class="photo">
<img src="imgs/sport1.jpg" alt="" srcset="">
</div>
<h2>Health and Fitness Aspects:</h2>
<p>One of the fundamental benefits of sports is its positive impact on physical health. Engaging in
sports helps individuals maintain a healthy weight, improve cardiovascular
fitness, and enhance muscular strength and flexibility. Regular physical activity, a cornerstone of
sports participation, is crucial for preventing chronic diseases such as

45
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

heart disease, diabetes, and obesity. Additionally, sports contribute to the development of motor
skills and coordination, especially in children.
Beyond physical health, sports also play a significant role in mental well-being, with exercise
releasing endorphins that reduce stress and anxiety.</p>
<div style="justify-content:center; display:flex;">
<img src="imgs/Sports-health.png" style=" height:300px;width:500px;padding:0px 10px;"/>
<img src="imgs/Health2.jpg" style=" height:300px;width:400px;padding:0px 10px;" />
</div>

<h2>Social and Cultural Significance:</h2>


<p>
Sports have immense social and cultural significance, acting as a common language that transcends
borders and brings people together. Major sporting events, like the Olympics
and FIFA World Cup, capture the attention of millions worldwide, fostering a sense of unity and
shared excitement. In communities, local sports events contribute to a sense of
belonging and identity. Moreover, sports often reflect and reinforce cultural values, traditions, and
norms.
The rituals and ceremonies associated with sports, from pre-game traditions to victory celebrations,
become integral parts of a society's cultural fabric.</p>
<div class="photo">
<img src="imgs/sport2.jpg" alt="" srcset="">
</div>
<h2>Economic Impact:</h2><p>
The economic impact of sports is substantial and multifaceted. Major sporting events drive tourism,
stimulate local economies, and create jobs.
The sports industry encompasses various sectors, including sports marketing, sports equipment
manufacturing, and sports media. Successful sports franchises and athletes
become lucrative brands, attracting sponsorships and endorsements. Broadcasting rights for popular
sports events command significant sums, contributing to the global sports economy.
The construction of sports facilities and stadiums also stimulates infrastructure development, further
contributing to economic growth.</p>
<div class="photo">
<img src="imgs/sport3.jpg" alt="" srcset=""></div>
<h2>Challenges and Controversies:</h2><p>
While sports bring numerous benefits, they are not without challenges and controversies. Issues like
doping scandals, match-fixing, and corruption can tarnish the integrity of
sports. Inequality in access to sports opportunities remains a concern, with disparities existing in
resources, facilities, and opportunities among different communities.
Athlete well-being, both physical and mental, has gained increased attention, highlighting the
pressures and expectations athletes face. Balancing the competitive nature of
sports with the need for fairness, inclusivity, and ethical conduct requires ongoing efforts from
sports organizations, governing bodies, and stakeholders.
</p>
</div>
</div>
<!----------------------------------------------------------------------------------------Footer----------------------------------->
<footer>
<div class="col1"><h4>Useful Links</h4><ul>
<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands
fa-facebook"></i>Facebook</a></li>
<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands
fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>
<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,
Sindhudurg, Maharashtra,<br></br>
Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>
<li><a href="[email protected]"><i class="fa-solid
fa-envelope"></i>[email protected]</a></li>
<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

46
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Contact Page (Conatct.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="Contact.aspx.cs" Inherits="Contact" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">

<header class="head">

<div class="logo">

<img src="imgs/123devgad.jpg" alt="" srcset="" >

</div>

<div class="heading">

<p1>

Sport Management System</p1>

</div>

<div class="nav">

<ul>

<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>

<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a><ul><li><a


href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li><li><a href="Admin.aspx"><i
class="fa-solid fa-graduation-cap"></i>Admin Login</a></li></ul></li><li><a href="Register.aspx"><i
class="fa-solid fa-user-plus"></i>Register</a></li><li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-
curved"></i>Games</a> </li><li><a href="Contact.aspx"><i class="fa-solid
fa-phone"></i>Contact</a></li><li><a href="Aboutus.aspx"><i class="fa-solid
fa-thumbs-up"></i>About</a></li></ul></div>

</header>

<div class="rcon"></div>

<div class="cont">

<div class="info2">

<h1 style="background-color: lightseagreen;border:1px solid black; font-size: 40px; color: rgb(0, 50,
6);padding:10px; margin: 20px 30px;

letter-spacing: 4px;border-radius: 20px;margin-bottom: 20px; box-shadow: 0 0 20px rgba(0,0,0,0.5);">

<u>Contact</u></h1>

<div style="background-color: rgba(0,0,0,0.4);border:1px solid black; padding:5% 10%; margin: 0px


30px;box-shadow: 0 0 20px rgba(0,0,0,0.5);

letter-spacing: 3px;border-radius: 0px 20px;margin-bottom: 20px; height:750px;color: rgb(255, 255, 255);


font-family:Arial; ">

<h2 style="color: rgb(118, 221, 255);"><u>Official</u></h2><ul type="square">

47
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<li><b> Devgad College :-</b><i class="fa-solid fa-phone"></i> +91 94220 71492</li>

<li><b> Devgad College Facebook :-</b><a href="https://m.facebook.com/devgadcollege"><i


class="fa-brands fa-facebook"></i> Facebook</a></li>

<li><b> Devgad College Website :-</b><a href="https://shkcdevgad.edu.in/"><i class="fa-brands


fa-internet-explorer"></i> [email protected]</a></li></ul>

<h2 style="color: rgb(118, 221, 255);"><u>Address</u></h2>

<p style="font-family:Arial;"><i class="fa-solid fa-location-dot"></i>

Smt Neerabai Parkar Vidyanagri </br>A/P Devgad, Sindhudurg, Maharashtra,

</br>Devgad 416613, India </p><iframe src="https://www.google.com/maps/embed?pb=!


1m18!1m12!1m3!1d3827.7618521303807!2d73.38568057514263!3d16. 386089484340264!2m3!
1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3bea9c8955b378d1%3A0x44bac1d5a636ff48!2sDevgad
%20college!5e0

!3m2!1sen!2sin!4v1694013971314!5m2!1sen!2sin" width="600" height="300"


style="border:2px solid black;" allowfullscreen="" loading="lazy" referrerpolicy="no-referrer-when-
downgrade"></iframe></div></div></div>

<!----------------------------------------------------------------------------------------Footer----------------------------------->

<footer>

<div class="col1"><h4>Useful Links</h4><ul>

<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands


fa-facebook"></i>Facebook</a></li>

<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands


fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>

<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,


Sindhudurg, Maharashtra,<br></br>

Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>

<li><a href="[email protected]"><i class="fa-solid


fa-envelope"></i>[email protected]</a></li>

<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

48
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

About page (Aboutus.aspx):-


<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"
CodeFile="Aboutus.aspx.cs" Inherits="Aboutus" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading">
<p1>
Sport Management System</p1>
</div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
<ul>
<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>
<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>
</ul>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a>
</li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li>
</ul>
</div>
</header>
<div class="rcon">
<li><a href="Aboutus.aspx"><i class="fa-solid fa-circle-right"></i>About Sport</a></li>
<li><a href="ADC.aspx"><i class="fa-solid fa-circle-right"></i>About Devgad College</a></li>
<li><a href="AboutDevgad.aspx"><i class="fa-solid fa-circle-right"></i>About Devgad</a></li>
<li><a href="https://shkcdevgad.edu.in/aboutus/mission-vision"><i class="fa-solid
fa-circle-right"></i>Mission & Vision</a></li>
<li><a href="Result.aspx"><i class="fa-solid fa-circle-right"></i>Result</a></li>
</div>
<!----------------------------------------------------------------------------------------CONTENT
----------------------------------->
<div class="cont">
<h1><u>About Sport</u></h1>
<div class="info">
<h2>Sports</h2>
<p><b>Sports</b> can help an individual work in team spirit and also develops a problem-solving
attitude towards life.
Physical exercise is done through sports. Sports played across the world is <b>Cricket, Football,
Volleyball, Chess,
Badminton, Tennis</b>. Two category of sports is Olympic Sport and Non-Olympic Sport.</p>
<div class="photo">
<img src="imgs/sport.jpeg" alt="" srcset="">
</div>
<h2>Games of India</h2>
<p>India is home to diverse population playing different games. India has won many Olympic medals
in sports. It is the origin
of games like <b>Hockey, Chess, Gilli Danda</b>.</p>
<h3>Chess</h3>
<p>

49
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<b>Shatranj</b> or chaturanga are the ancient names for Chess. Archaeologist found the remains
of this game roughly, 1,500 years ago.
It is a board game which requires minimum two players. the board is 8 x 8. Each player in the game
has 6 set of pieces namely <b>1 King, 1 Queen, 2 Rook, 2 Knights, 2 Bishops and 8 pawns</b>. Checkmate
or also known as shat-Mat is referred as the defeat of King.
</p>
<div class="photo">
<img src="imgs/Chess.jpeg" alt="" srcset="">
</div>
<h3>Kho-Kho</h3>
<p>
<b>Kho Kho</b> was originated in India in the 3rd century. Therefore, kho kho is one of the oldest
tag games in India besides kabaddi.
There are 12 players in a team and out of which 9 enter the field and others run along the field.
Players face the opposite directions in a single line.
</p>
<div class="photo">
<img src="imgs/KHO KHO.jpeg" alt="" srcset="">
</div>
<h3>Polo</h3>
<p>
<b>Polo</b> is played riding on horses back. It lasted from the 6th century BC to 1st century AD.
India has set the modern polo in 115th century AD by Mughal emperor.
Therefore, “ Sport of Kings” is the other name of this game. In some places, polo was played by
riding on elephants back and hence it was called “Elephant Polo”.
</p>
<div class="photo">
<img src="imgs/Polo.jpeg" alt="" srcset="">
</div>
<h3>Carrom</h3>
<p>
Carrom is a tabletop game of Indian origin in which players flick discs, attempting to knock them to
the corners of the board.
The game is very popular in the Indian subcontinent, and is known by various names in different
languages.
In South Asia, many clubs and cafés hold regular tournaments. Carrom is very commonly played by
families, including children,
and at social functions. Different standards and rules exist in different areas. It became very popular
in the United Kingdom
and the Commonwealth during the early 20th century.The word carrom means to strike and
rebound.</p><div class="photo">
<img src="imgs/carrom.jpg" alt="" srcset=""></div>
<h2>World Games</h2><p>
World games are the games which are played and recognised all across the globe.
Some of Such games are Football, Badminton, Volleyball, Cricket. These games are popular
everywhere and hence are world games.
</p>
<h3>Football</h3>
<p>Football is an Olympic game. Every 4 years there is FIFA world cup. There are 11 players in a
team.
Two teams are bid against each other and team with highest goals wins.
Football is a 90-minute long game with two parts of 45 minute each with one half-time of 15-
minutes.</p>
<div class="photo">
<img src="imgs/Football.jpeg" alt="" srcset=""></div><h3>Cricket</h3>
<p>Cricket is traditionally a bat-and-ball game. There are 125 countries who play cricket across the
globe.
There are 11 players in each team and two teams play against each other. A coin flip decides to bat or
ball.

50
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

There are many versions of cricket being played like IPL and 20-20. Hence, cricket is the most
popular and most played game in
India.</p><div class="photo">
<img src="imgs/Cricket.jpeg" alt="" srcset=""></div></div></div>
<!----------------------------------------------------------------------------------------Footer----------------------------------->
<footer>
<div class="col1"><h4>Useful Links</h4><ul>
<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands
fa-facebook"></i>Facebook</a></li>
<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands
fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>
<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,
Sindhudurg, Maharashtra,<br></br>
Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>
<li><a href="[email protected]"><i class="fa-solid
fa-envelope"></i>[email protected]</a></li>
<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

51
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Student-Profile page (Student-Profile.aspx):-


@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"
CodeFile="Student-Profile.aspx.cs" Inherits="Student_Profile" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">

<style></style>

</asp:Content>

<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">

<header class="head">

<div class="logo">

<img src="imgs/123devgad.jpg" alt="" srcset="" >

</div>

<div class="heading">

<p1>

Sport Management System</p1>

</div>

<div class="nav">

<ul>

<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>

<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>

<ul>

<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>

<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>

</ul>

</li>

<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>

<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a> </li>

<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>

<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li>

</ul>

</div>

</header>

<div class="rcon">

<asp:Button ID="edit" class="btns" runat="server" Text="Edit" OnClick="edit_Click" />

<asp:Button ID="delete" class="btns" runat="server" Text="Log out" OnClick="delete_Click" />

52
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<asp:Button ID="home" class="btns" runat="server" Text="Home" OnClick="home_Click"


Visible="False" />

</div>

<div class="cont">

<div>

<div class="proh">

<h2 style="font-size:40px;font-family:'Copperplate Gothic';">Profile</h2>

<asp:Label ID="labid" runat="server" Text="Welcome to Your Profile Page.... "></asp:Label> <asp:Label


ID="hpname" class="hname" runat="server" ForeColor="White"></asp:Label>

</div>

<div class="d2">

<asp:Label ID="logout" runat="server" class="delab" Text="" Visible="False"></asp:Label>

</div>

<div class="proimgsdiv">

<asp:Image ID="proimg" class="proimg" runat="server" Height="150px" Width="150px" />

</div>

<div class="prodiv">

<table style="width:100%;" class="protab" id="myTable">

<td style="width:257px;padding-bottom:10px;font-size:1.35rem;font-family:'Copperplate
Gothic';font-weight:100;"><b><u>Personal Information.</u></b></td>

<tr>

<td class="td1" ><b>Name:</b></td>

<td class="td2">

<asp:Label ID="pname" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Surname:</b></td>

<td class="td2">

<asp:Label ID="psname" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Father Name:</b></td>

<td class="td2">

<asp:Label ID="pfname" runat="server" Text=""></asp:Label>

53
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

</td>

</tr><tr>

<td class="td1" ><b>Mother Name:</b></td>

<td class="td2">

<asp:Label ID="pmname" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Date of Birth:</b></td>

<td class="td2">

<asp:Label ID="pdob" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Gender:</b></td>

<td class="td2">

<asp:Label ID="pgender" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Email:</b></td>

<td class="td2">

<asp:Label ID="pemail" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>PRN Number:</b></td>

<td class="td2">

<asp:Label ID="pprn" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Roll Number:</b></td>

<td class="td2">

<asp:Label ID="proll" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Phone Number:</b></td>

<td class="td2">

54
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<asp:Label ID="pphone" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Adharcard Number:</b></td>

<td class="td2">

<asp:Label ID="padhar" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Course:</b></td>

<td class="td2">

<asp:Label ID="pcourse" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Class:</b></td>

<td class="td2">

<asp:Label ID="pclass" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Employee:</b></td>

<td class="td2">

<asp:Label ID="pemploye" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

<td class="td1" ><b>Game:</b></td>

<td class="td2">

<asp:Label ID="pgame" runat="server" Text=""></asp:Label>

</td>

</tr>

<tr>

<td class="td1" ><b>Event:</b></td>

<td class="td2">

<asp:Label ID="pevent" runat="server" Text=""></asp:Label>

</td>

</tr><tr>

55
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<td class="td1" ><b>Participate:<small style="color:#800a0a;font-size:12px;">(University-


Games)</small></b></td>

<td class="td2">

<asp:Label ID="ppartict" runat="server" Text=""></asp:Label>

</td></tr> </table>

<button onclick="printTable()" class="btns" style="width:150px;">Export in PDF</button>

<script>

function printTable()

var table = document.getElementById('myTable');

if (table) {

var newWin = window.open('', '', 'width=800,height=600');


newWin.document.write('<html><head><title>SHKC</title><style>.img{width:80px;height:80px;}</style></
head><body><h3 style="text-align:center;">Shri.S.H.Kelkar College of Arts, Commerce &
Science,Devgad.</h3></br><div style="display:flex;justify-content:center;"><img src="imgs/123devgad.jpg"
class="img" /> </div></br><div style="border:1px solid black;height:150.07px;width:132.28px;float:right;text-
align:center;">Photo</div><h1 style="padding-left:37%;"><u>Sports Form<u></h1></br>');

newWin.document.write(table.outerHTML);

newWin.document.write('<div style="display:flex;justify-content: center;padding-top: 100px;


"><p style="margin-right:25%;">Student Signature.</p></br><p style="margin-left:25%;">College Seal<p>
</div></body></html>');

newWin.print();

newWin.close();}else{} }</script></div></div></div>

<!----------------------------------------------------------------------------------------Footer----------------------------------->

<footer>

<div class="col1"><h4>Useful Links</h4><ul>

<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands


fa-facebook"></i>Facebook</a></li>

<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands


fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>

<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,


Sindhudurg, Maharashtra,<br></br>

Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>

<li><a href="[email protected]"><i class="fa-solid


fa-envelope"></i>[email protected]</a></li>

<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

56
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

AdminData page (AdminData.aspx):-

<%@ Page Title="" Language="C#" MasterPageFile="~/main.master" AutoEventWireup="true"


CodeFile="AdminData.aspx.cs" Inherits="AdminData" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
<style>...</style>
</asp:Content>
<asp:Content ID="Content2" runat="server" contentplaceholderid="ContentPlaceHolder1">
<header class="head">
<div class="logo">
<img src="imgs/123devgad.jpg" alt="" srcset="" >
</div>
<div class="heading">
<p1>
Sport Management System</p1>
</div>
<div class="nav">
<ul>
<li><a href="Home.aspx"><i class="fa-solid fa-house"></i>Home</a></li>
<li><a href="Student.aspx"><i class="fa-solid fa-user"></i>Login</a>
<ul>
<li><a href="Student.aspx"><i class="fa-solid fa-school"></i>Student Login</a></li>
<li><a href="Admin.aspx"><i class="fa-solid fa-graduation-cap"></i>Admin Login</a></li>
</ul>
</li>
<li><a href="Register.aspx"><i class="fa-solid fa-user-plus"></i>Register</a></li>
<li><a href="Game.aspx"><i class="fa-solid fa-fire-flame-curved"></i>Games</a> </li>
<li><a href="Contact.aspx"><i class="fa-solid fa-phone"></i>Contact</a></li>
<li><a href="Aboutus.aspx"><i class="fa-solid fa-thumbs-up"></i>About</a></li></ul></div>
</header><div class="rcon">
<li><a href="Search.aspx" ><i class="fa-solid fa-circle-right"></i>Search-Games</a></li></div><div
class="contd"><div style="display:flex; justify-content:center; padding:20px; margin:20px;"><br />
<table style="width:100%;"><tr><td class="auto-style1"><label style="color:white;font-size:20px;font-
family:Impact;letter-spacing:1px;"> Select the Last name....</label></td></tr><tr><td class="auto-
style1"><asp:TextBox ID="TextBox1" class="inpt" runat="server" placeholder="Write Your
Name"></asp:TextBox></td><td> <asp:Button ID="sercchd" class="btns" runat="server" Text="Search"
OnClick="sercchd_Click" /></td></tr></table>
</div>
<div style="margin:20px; padding:10px;">
<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False"
DataSourceID="SqlDataSource1" DataKeyNames="Adharcard_no">
<Columns>
<asp:BoundField DataField="Surname" HeaderText="Surname" SortExpression="Surname" />
<asp:BoundField DataField="First_name" HeaderText="First_name"
SortExpression="First_name" />
<asp:BoundField DataField="Father_name" HeaderText="Father_name"
SortExpression="Father_name" />
<asp:BoundField DataField="Mother_name" HeaderText="Mother_name"
SortExpression="Mother_name" />
<asp:BoundField DataField="Email" HeaderText="Email" SortExpression="Email" />
<asp:BoundField DataField="DOB" HeaderText="DOB" SortExpression="DOB" />
<asp:BoundField DataField="PRN_no" HeaderText="PRN_no" SortExpression="PRN_no" />
<asp:BoundField DataField="Roll_no" HeaderText="Roll_no" SortExpression="Roll_no" />
<asp:BoundField DataField="Gender" HeaderText="Gender" SortExpression="Gender" />
<asp:BoundField DataField="Employee" HeaderText="Employee" SortExpression="Employee" />
<asp:BoundField DataField="Phone_no" HeaderText="Phone_no" SortExpression="Phone_no" />
<asp:BoundField DataField="Adharcard_no" HeaderText="Adharcard_no"
SortExpression="Adharcard_no" ReadOnly="True" />
<asp:BoundField DataField="Games" HeaderText="Games" SortExpression="Games" />

57
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<asp:BoundField DataField="Events" HeaderText="Events" SortExpression="Events" />


<asp:BoundField DataField="Participate" HeaderText="Participate" SortExpression="Participate" />
<asp:BoundField DataField="Course" HeaderText="Course" SortExpression="Course" />
<asp:BoundField DataField="Class" HeaderText="Class" SortExpression="Class" />
<asp:HyperLinkField DataNavigateUrlFields="Photo" DataNavigateUrlFormatString="~/Photos/{0}"
DataTextField="Photo" DataTextFormatString="View" HeaderText="Photo" />
<asp:HyperLinkField DataNavigateUrlFields="College_id"
DataNavigateUrlFormatString="~/College_id/{0}" DataTextField="College_id"
DataTextFormatString="View" HeaderText="College_id" />
<asp:HyperLinkField DataNavigateUrlFields="Adharcard_pic"
DataNavigateUrlFormatString="~/Adharcrd/{0}" DataTextField="Adharcard_pic"
DataTextFormatString="View" HeaderText="Adharcard" />
<asp:HyperLinkField DataNavigateUrlFields="SSC_cert"
DataNavigateUrlFormatString="~/SSCcert/{0}" DataTextField="SSC_cert" DataTextFormatString="View"
HeaderText="SSC" />
<asp:HyperLinkField DataNavigateUrlFields="HSC_mrk"
DataNavigateUrlFormatString="~/HSCmrk/{0}" DataTextField="HSC_mrk" DataTextFormatString="View"
HeaderText="HSC" />
<asp:CommandField ButtonType="Button" ShowDeleteButton="True"
/></Columns></asp:GridView></div>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$
ConnectionStrings:SMSConnectionString2 %>" SelectCommand="SELECT * FROM [register]"
DeleteCommand="DELETE FROM [register] WHERE [Adharcard_no] = @Adharcard_no"
InsertCommand="INSERT INTO [register] ([Surname], [First_name], [Father_name], [Mother_name], [Email],
[DOB], [PRN_no], [Roll_no], [Gender], [Employee], [Phone_no], [Adharcard_no], [Games], [Events],
[Participate], [Course], [Class], [Password], [Photo], [College_id], [Adharcard_pic], [SSC_cert], [HSC_mrk])
VALUES (@Surname, @First_name, @Father_name, @Mother_name, @Email, @DOB, @PRN_no,
@Roll_no, @Gender, @Employee, @Phone_no, @Adharcard_no, @Games, @Events, @Participate, @Course,
@Class, @Password, @Photo, @College_id, @Adharcard_pic, @SSC_cert, @HSC_mrk)"
UpdateCommand="UPDATE [register] SET [Surname] = @Surname, [First_name] = @First_name,
[Father_name] = @Father_name, [Mother_name] = @Mother_name, [Email] = @Email, [DOB] = @DOB,
[PRN_no] = @PRN_no, [Roll_no] = @Roll_no, [Gender] = @Gender, [Employee] = @Employee, [Phone_no]
= @Phone_no, [Games] = @Games, [Events] = @Events, [Participate] = @Participate, [Course] = @Course,
[Class] = @Class, [Password] = @Password, [Photo] = @Photo, [College_id] = @College_id, [Adharcard_pic]
= @Adharcard_pic, [SSC_cert] = @SSC_cert, [HSC_mrk] = @HSC_mrk WHERE [Adharcard_no] =
@Adharcard_no" >
<DeleteParameters>
<asp:Parameter Name="Adharcard_no" Type="String" />
</DeleteParameters>
<InsertParameters>
<asp:Parameter Name="Surname" Type="String" />
<asp:Parameter Name="First_name" Type="String" />
<asp:Parameter Name="Father_name" Type="String" />
<asp:Parameter Name="Mother_name" Type="String" />
<asp:Parameter Name="Email" Type="String" />
<asp:Parameter Name="DOB" Type="String" />
<asp:Parameter Name="PRN_no" Type="String" />
<asp:Parameter Name="Roll_no" Type="String" />
<asp:Parameter Name="Gender" Type="String" />
<asp:Parameter Name="Employee" Type="String" />
<asp:Parameter Name="Phone_no" Type="String" />
<asp:Parameter Name="Adharcard_no" Type="String" />
<asp:Parameter Name="Games" Type="String" />
<asp:Parameter Name="Events" Type="String" />
<asp:Parameter Name="Participate" Type="String" />
<asp:Parameter Name="Course" Type="String" />
<asp:Parameter Name="Class" Type="String" />
<asp:Parameter Name="Password" Type="String" />
<asp:Parameter Name="Photo" Type="String" />
<asp:Parameter Name="College_id" Type="String" />

58
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

<asp:Parameter Name="Adharcard_pic" Type="String" />


<asp:Parameter Name="SSC_cert" Type="String" />
<asp:Parameter Name="HSC_mrk" Type="String" />
</InsertParameters>
<UpdateParameters>
<asp:Parameter Name="Surname" Type="String" />
<asp:Parameter Name="First_name" Type="String" />
<asp:Parameter Name="Father_name" Type="String" />
<asp:Parameter Name="Mother_name" Type="String" />
<asp:Parameter Name="Email" Type="String" />
<asp:Parameter Name="DOB" Type="String" />
<asp:Parameter Name="PRN_no" Type="String" />
<asp:Parameter Name="Roll_no" Type="String" />
<asp:Parameter Name="Gender" Type="String" />
<asp:Parameter Name="Employee" Type="String" />
<asp:Parameter Name="Phone_no" Type="String" />
<asp:Parameter Name="Games" Type="String" />
<asp:Parameter Name="Events" Type="String" />
<asp:Parameter Name="Participate" Type="String" />
<asp:Parameter Name="Course" Type="String" />
<asp:Parameter Name="Class" Type="String" />
<asp:Parameter Name="Password" Type="String" />
<asp:Parameter Name="Photo" Type="String" />
<asp:Parameter Name="College_id" Type="String" />
<asp:Parameter Name="Adharcard_pic" Type="String" />
<asp:Parameter Name="SSC_cert" Type="String" />
<asp:Parameter Name="HSC_mrk" Type="String" />
<asp:Parameter Name="Adharcard_no" Type="String" />
</UpdateParameters>
</asp:SqlDataSource>
</div>
<!----------------------------------------------------------------------------------------Footer----------------------------------->
<footer>
<div class="col1"><h4>Useful Links</h4><ul>
<li><a href="https://m.facebook.com/devgadcollege"><i class="fa-brands
fa-facebook"></i>Facebook</a></li>
<li><a href="https://shkcdevgad.edu.in/"><i class="fa-brands
fa-internet-explorer"></i>[email protected]</a></li></ul></div><div class="col2"><h4>Address</h4><a
href="#"><p>
<i class="fa-solid fa-location-dot"></i>Smt Neerabai Parkar Vidyanagri<br></br>A/P Devgad,
Sindhudurg, Maharashtra,<br></br>
Devgad 416613, India</p></a></div><div class="col3"><h4>Contact Info</h4><ul>
<li><a href="[email protected]"><i class="fa-solid
fa-envelope"></i>[email protected]</a></li>
<li><i class="fa-solid fa-phone"></i>+91 94220 71492</li></ul></div> </footer></asp:Content>

59
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

DATABASE
CONNECTIVITY
WITH
C#

60
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Registration.aspx.cs :-
using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Data;

using System.Data.SqlClient;

public partial class Register : System.Web.UI.Page

protected void Page_Load(object sender, EventArgs e){}

protected void rgter_Click(object sender, EventArgs e){

SqlConnection con = new SqlConnection("Data Source=DHANRAJ\\SQLEXPRESS;Initial


Catalog=SMS;Integrated Security=True");

//profile PHOTOs

string pic;

if (photo.HasFile)

photo.SaveAs(HttpContext.Current.Request.PhysicalApplicationPath + "Photos/" + photo.FileName);

pic = photo.FileName;

//College_ids

string clgid;

if (colgeid.HasFile)

colgeid.SaveAs(HttpContext.Current.Request.PhysicalApplicationPath + "/College_id/" +
colgeid.FileName);

clgid = colgeid.FileName;

//Adharcard

string adhrcrd;

if (adcrdpic.HasFile)

adcrdpic.SaveAs(HttpContext.Current.Request.PhysicalApplicationPath + "/Adharcrd/" +
adcrdpic.FileName);

adhrcrd = adcrdpic.FileName;

//Adharcard

string ssccert;

if (sscert.HasFile)

61
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

sscert.SaveAs(HttpContext.Current.Request.PhysicalApplicationPath + "/SSCcert/"+ sscert.FileName);

ssccert = sscert.FileName;

//Adharcard

string hscmark;

if (hscmrk.HasFile)

hscmrk.SaveAs(HttpContext.Current.Request.PhysicalApplicationPath + "/HSCmrk/" +
hscmrk.FileName);

hscmark = hscmrk.FileName;

SqlCommand check = new SqlCommand("SELECT [Adharcard_no] FROM [dbo].[register] WHERE


[Adharcard_no]='" + adharcard.Text + "'", con);

SqlDataAdapter sd = new SqlDataAdapter(check);

DataTable dt = new DataTable();sd.Fill(dt);

if (dt.Rows.Count > 0){

ScriptManager.RegisterStartupScript(this, this.GetType(), "script", "alert('Adharcard no already Exist');",


true);}

else{

SqlCommand cmd = new SqlCommand(@"INSERT INTO [dbo].[register] ([Surname] ,[First_name],


[Father_name],[Mother_name],[Email],[DOB],[PRN_no],[Roll_no],[Gender] ,[Employee],[Phone_no],
[Adharcard_no],[Games],[Events],[Participate],[Course] ,[Class],[Password],[Photo],[College_id],
[Adharcard_pic],[SSC_cert],[HSC_mrk])

VALUES

('" + surname.Text + "','" + firstname.Text + "','" + fathersname.Text + "','" + mothersname.Text + "','" +


email.Text + "','" + DOB.Text + "','" + prnno.Text + "','" + rollno.Text + "','" + gender.Text + "','" +
employee.Text + "','" + phoneno.Text + "','" + adharcard.Text + "','" + games.Text + "','" + events.Text + "','" +
participate.Text + "','" + course.Text + "','" + clas.Text + "','" + password.Text + "','" + pic + "','" + clgid + "','" +
adhrcrd + "','" + ssccert + "','" + hscmark + "')", con);

con.Open();

cmd.ExecuteNonQuery();

Response.Redirect("Submit.aspx");

con.Close();

};

62
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Student.aspx.cs :-
using System;

using System.Collections.Generic;

using System.Linq;

using System.Web;

using System.Web.UI;

using System.Web.UI.WebControls;

using System.Windows;

using System.IO;

using System.Data;

using System.Data.SqlClient;

public partial class Student : System.Web.UI.Page{

protected void Page_Load(object sender, EventArgs e){}

protected void Stndtlgn_Click(object sender, EventArgs e){

SqlConnection con = new SqlConnection("Data Source=DHANRAJ\\SQLEXPRESS;Initial


Catalog=SMS;Integrated Security=True");

string password = logpas.Text;

string username = logid.Text;

con.Open();

SqlCommand cmdt = new SqlCommand(@"SELECT * FROM [dbo].[register] WHERE


[Adharcard_no]='" + username + "' AND [Password]='" + password + "'",con);

SqlDataReader reader = cmdt.ExecuteReader();

if (reader.Read())

Session["register"] = username;

Response.Redirect("Student-Profile.aspx");

else

error.Visible=true;

error.Text = "*Invalid username or password";

63
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Student-Profile.aspx.cs :-

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.IO;
using System.Data;
using System.Drawing;
using System.Data.SqlClient;
public partial class Student_Profile : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
if (Session["register"] != null)
{
string username = Session["register"].ToString();
SqlConnection conn = new SqlConnection("Data Source=DHANRAJ\\SQLEXPRESS;Initial
Catalog=SMS;Integrated Security=True");
conn.Open();
SqlCommand cmd = new SqlCommand(@"SELECT [Surname],[First_name],[Father_name],
[Mother_name],[Email],[DOB] ,[PRN_no],[Roll_no],[Gender],[Employee],[Phone_no],[Adharcard_no],
[Games],[Events],[Participate],[Course],[Class],[Photo]
FROM [dbo].[register] WHERE [Adharcard_no]='" + username + "'", conn);
SqlDataReader reader = cmd.ExecuteReader();
if (reader.Read())
{hpname.Text = reader["First_name"].ToString();pname.Text =
reader["First_name"].ToString();psname.Text = reader["Surname"].ToString();pfname.Text =
reader["Father_name"].ToString();pmname.Text = reader["Mother_name"].ToString();pdob.Text =
reader["DOB"].ToString();pgender.Text = reader["Gender"].ToString();pemail.Text =
reader["Email"].ToString();pprn.Text = reader["PRN_no"].ToString();proll.Text =
reader["Roll_no"].ToString();pphone.Text = reader["Phone_no"].ToString(); padhar.Text =
reader["Adharcard_no"].ToString();pcourse.Text = reader["Course"].ToString();pclass.Text =
reader["Class"].ToString();pemploye.Text = reader["Employee"].ToString();pgame.Text =
reader["Games"].ToString();pevent.Text = reader["Events"].ToString();ppartict.Text =
reader["Participate"].ToString();
string imagePath = GetProfileImageData();
if (!string.IsNullOrEmpty(imagePath))
{
proimg.ImageUrl = "/Photos/'"+imagePath+"'";
}
else
{
proimg.ImageUrl = "~/App_Data/imgs/user icon.png";
}}
conn.Close(); }
else{
Response.Redirect("Student.aspx");} }}
private string GetProfileImageData()
{
string imagePath = null;
try
{
using(SqlConnection connection=new SqlConnection("Data Source=DHANRAJ\\SQLEXPRESS;Initial
Catalog=SMS;Integrated Security=True"))

64
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

{
string query = "SELECT [Photo] FROM [dbo].[register] WHERE [Adharcard_no]= @UserID";
string userID = Session["register"].ToString();
if (!string.IsNullOrEmpty(userID))
{
using (SqlCommand comd = new SqlCommand(query, connection))
{
comd.Parameters.AddWithValue("@UserID", userID);
connection.Open();
imagePath = (string)comd.ExecuteScalar();}}}}
catch (Exception ex){ }
return imagePath;
}
protected void delete_Click(object sender, EventArgs e)
{
string username = Session["register"].ToString();
SqlConnection con = new SqlConnection("Data Source=DHANRAJ\\SQLEXPRESS;Initial
Catalog=SMS;Integrated Security=True");
SqlCommand cmd = new SqlCommand(@"DELETE FROM [dbo].[register]
WHERE [Adharcard_no]='" + username + "'", con);
con.Open();
cmd.ExecuteNonQuery();
logout.Text = "Your have been Logout Successfully...!";
logout.Visible = true;
home.Visible = true;
con.Close();}
protected void edit_Click(object sender, EventArgs e){Response.Redirect("Edit.aspx");}
protected void home_Click(object sender, EventArgs e){
Response.Redirect("Home.aspx");}}

65
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Admin.aspx.cs :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
public partial class Admin : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
protected void Adminsbt_Click(object sender, EventArgs e)
{
string adminUsername = "SHKC";
string adminPassword = "shkc@1974";
string enteredUsername = adminid.Text;
string enteredPassword = adminpas.Text;
if (enteredUsername == adminUsername && enteredPassword == adminPassword)
{
Response.Redirect("AdminData.aspx");
}
else
{
labadmin.Visible=true;
labadmin.Text = "*Invalid username or password";
}
}
}

AdminData.aspx.cs :-
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Data;
using System.Data.SqlClient;
public partial class AdminData : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
if (!IsPostBack)
{
}
}
protected void sercchd_Click(object sender, EventArgs e)
{
string searchText = TextBox1.Text;
SqlDataSource1.SelectCommand = "SELECT * FROM [dbo].[register] WHERE [Surname] ='" +
searchText + "'";
GridView1.DataBind();
}
}

66
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

SCREEN LAYOUT
Home Page :-

67
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Login Page :- (Admin Login)

(Student Login)

68
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Register Page :-

69
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Game Page :-

70
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Contact Page :-

71
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

About Page :-

72
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

LIST OF TABLE
AdminData Page :-

Search Page :-

73
(TYIT) Dhanraj Mangesh Ghadi
Sport Management System (SMS)

Downloaded Excel Tabel List :-

First Father
Surname Mother name Email DOB PRN no.
name name
19-03-
Kharat Sanika Mohan Anjali [email protected] 2003 0987654321357901

Gende Employe Adharcard Game Event Participat


Roll no. Phone no. Course Class
r e no. s s e

C45672 Femal 984567234 90785634129 Kho- Commerc Second


1 e No 5 0 Kho no 2 e Year.

Student-Profile Page :-

74
(TYIT) Dhanraj Mangesh Ghadi

You might also like