Professional Documents
Culture Documents
ON
“School Management system”
Submitted by
CERTIFICATE
Has satisfactory carried out and completed the Micro Project entitle,
Enrolment
Sr. No. Name of Student Roll No.
No.
1 Wale Aditya Dnyaneshwar 51 2200800178
2 Giri Sanket Sudhakar 67
1 Rationale 5
2 Aim/Benefits 5
4 Literature Review 5
End Sub
End Class
Form 2
End Sub
Timer1.Stop()
End If
End Sub
End Class
Form 3
Public Class Form3
Form4.ShowDialog()
End Sub
End Class
Form 4
Imports System.Data.OleDb
Module Module1
Dim Provider As String
Public OleCn As New OleDbConnection()
Public OleDa As New OleDbDataAdapter()
Public Function OledbConnectionString() As String
Provider = "Provider= Microsoft.Jet.oledb.4.0; Data Source = ..\Database1.mdb"
Return Provider
End Function
Public Sub ListStudentColumns(ByVal Lv As ListView)
With Lv
.Columns.Add("studentno", 120)
.Columns.Add("firstname", 150)
.Columns.Add("lastname", 180)
.Columns.Add("course", 120)
.FullRowSelect = True
.MultiSelect = True
.GridLines = True
.HideSelection = False
.View = View.Details
End With
End Sub
Public Sub openconnection()
If OleCn.State <> ConnectionState.Open Then
OleCn.ConnectionString = OledbConnectionString()
OleCn.Open()
End If
End Sub
Public Sub closeconnection()
OleCn.Close()
End Sub
Public Sub Initialized()
OleDa.SelectCommand = New OleDbCommand()
OleDa.SelectCommand.CommandText = "Select * from tblstudent"
OleDa.SelectCommand.Connection = OleCn
End Sub
End Module
Form 5
Imports System.Data.OleDb
Public Class frmlogin
Dim con As New OleDbConnection
Dim passwordtrials As Integer
Private Sub frmlogin_Load(ByVal sender As System.Object, ByVal e As System.EventArgs)
Handles MyBase.Load
con.ConnectionString = "Provider= Microsoft.Jet.oledb.4.0; Data Source =
..\Database1.mdb" '.. means the database is in the bin folder
End Sub
Public Function verify()
Dim dt As New DataTable
Dim ds As New DataSet
ds.Tables.Add(dt)
con.Open() 'open the connection
Dim da As New OleDbDataAdapter("select * from tbluser", con) 'tbluser is the name
of the table that contains username and password
da.Fill(dt)
Resource used :-
4 Microsoft Office 11 1
word
5 keyboard dell 1
Output of microproject :-
Login form
Loading
Main menu
Manage student
Manage Staff
a. Communication Skill
b. Leadership Skill
c. Team work skill
d. Data collection Skill
e. Research Skill
Signature of Teacher
Prof Wakchaure S.L.