ARTICLE

Database operations in WPF application

Posted by Rahul Kumar Saxena Articles | WPF February 25, 2010
In this article I demonstrated a small project report on School management System in WPF.
Reader Level:
Download Files:
 

Hi this is my PROJECT series which I posted on this site. My previously posted projects are in .NET 2.0 and web based too. Previously my posted projects are.

1.    Social Networking web application example

2.    MyCollegeMyFriend - An Open Source Project developed using ASP.NET 2.0 

3.    Building a Friends Networking Website 

4.    On-line Address Book in ASP.NET 2.0

So now I am going to post a project on School Management system which I developed in .NET 3.5 (WPF). It's a window based project.

In this project an authorized person can Add, Delete, Update and view students and teachers records. I did all edit, delete, create, and read in this project. You can find database file in DATA folder inside application. My database file name is SMS (School Management System). To run this project just add this database and change connection string. I used here typed data set.

To run the application just add the database and change the connection string in App.config file like... 

<?xml version="1.0" encoding="utf-8" ?>

<configuration>

    <configSections>

    </configSections>

    <connectionStrings>

        <add name="SchoolManagementSystem.Properties.Settings.SMSConnectionString"

            connectionString="Data Source=Rahul\SQLSERVER2005;Initial Catalog=SMS;User ID=sa;Password=wintellect"

            providerName="System.Data.SqlClient" />

    </connectionStrings>

</configuration>

Now I am going to show the working of my application. When you run the application there is a login window, after login you will redirect to main window of application from where you can do all operation which are available in my application like from menu item you can add student, view all student, add new teacher and view all teacher like..

Login.png

Image 1. 

After Login the main window will open.

SMSMain.png 

Image 2.

From the menu item you can select Student/ Teacher.

With Student menu you can add new student.

AddStudent.png

Image 3.

You can view all student.

AllStudent.png

Image 4.

Here by double clicking on any record you can delete or update the record.

EditDeleteStudent.png 

Image 5.

If you select Teacher-> Add New Teacher

AddTeacher.png

Image 6. 

Teacher -> All Teacher.  You can delete and update by double clicking on any  record.

EditDeleteteacher.png

Image 7.

Login to add your contents and source code to this article
Article Extensions
Contents added by arthur gitau on Jan 30, 2013
cant find sorce code download ?
post comment
     

Unable to download

Posted by Priom Biswas Apr 30, 2013

Unable to download

Posted by HAMID KHAN Apr 24, 2013

can you send me source code.its help full for me.in my project when i click on button its create multiple document but i want to create like mdi which display with in same form ,i dnt knw how solve it in wpf plz send me code so i can solve my problem adi102.ghadge@gmail.com

Posted by aditi ghadge Apr 06, 2013

Unable to download..

Posted by vicky rai Apr 03, 2013

Can you send me this project for reference on adi102.ghadge@gmail.com

Posted by aditi ghadge Apr 01, 2013
COMMENT USING
PREMIUM SPONSORS
Over-C is a holistic consortium of communications and technology specialists. We build, deploy and market both business as well as consumer products and solutions.
SPONSORED BY
  • PDF reports have never been easier to create. With our included WYSIWYG Designer, you can layout your reports, set up your data source and let DynamicPDF ReportWriter do the rest.
Join a Chapter