Santosh Ghimire – 066BCT533 Subit Raj Pokharel – 066BCT538 Sudip Kafle – 066BCT539.
-
Upload
christina-warren -
Category
Documents
-
view
213 -
download
1
Transcript of Santosh Ghimire – 066BCT533 Subit Raj Pokharel – 066BCT538 Sudip Kafle – 066BCT539.
Student Management System at PEA – An Academy for Entrance
Preparation
Project Presentation Of Database Management System
Santosh Ghimire – 066BCT533Subit Raj Pokharel – 066BCT538Sudip Kafle – 066BCT539
Entity Relationship Diagram
Created Using MS-Visio Contains 19 different Entities
Adding Data to Database
Data added via. Windows Form based UI Contains 5 different forms which can be
reviewed before submitting The data assigned to objects of 16
different classes Each class has a method named Add
which adds the attributes to Database All SQL queries written as Stored
procedures
Read Form Data
Assign data to respective
objects
Assign the objects to a single object
Add new record with new
StudentID in Student Table
Add the record for given studentID to all
tables
Searching the Record
Searching can be done based on various criteria› Name, roll no., address, college name, year
A View is created on Database with only the required columns joining different tables
The record matching the search criteria is selected from view and displayed on the Grid View of the application
Sample search Query
SELECT * FROM GridViewDefault WHERE Name LIKE '%' + @name+ '%' AND Course LIKE '%' + @course+ '%' AND StudentId IN
(SELECT studentId FROM plusTwoDetail JOIN plusTwoCollege ON plusTwoDetail.collegeId=plusTwoCollege.collegeIdWHERE collegeName LIKE '%'+@collegeName+'%')
AND StudentID IN(SELECT studentId FROM permanentAddressJOIN district ON permanentAddress.districtId=district.districtIdWHERE districtName LIKE '%'+@district+'%')
AND Year LIKE '%' + @year +'%'AND Section LIKE '%'+@section+'%'
Match NameMatch Course
Match College
Match District
Match yearMatch section
Updating the record
The record found after searching can be updated / edited
Form similar to adding record shown Each of 16 classes have update method The update method called similar to Add