Project
Project
ASSIGNMENT FIVE
STUDENT INFORMATION
INDEX NUMBER: 4211223612
FULL NAME: JOHN RICHMOND ABBAN
PROGRAMME: BSC INFORMATION TECHNOLOGY
LEVEL: 300
SESSION: GROUP A
LECTURER: DR. FORGOR LEMPOGO
QUESTION 1: DESIGNING THE DATA GRID VIEW USER INTERFACE.
Create a new form that will allow you to search for any user using their ID
number. It should have a data grid view to show you each record and its data.
The data grid view form for the access database above.
Me.Person_TBTableAdapter.FillByP_ID(Me.Contact_DBDataSet.Person_TB,
New System.Nullable(Of Integer)(CType(P_IDToolStripTextBox.Text, Integer)))
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub
Create a new form that will allow you to view the call’s details and the
message’s details. It should also show the user record in textbox above.
THE SCREENSHOT OF USER INTERFACE FOR QUESTION/FUNCTION 2 (test
results)
The data grid view allowing you to see view the message and see the call detail.
End Class
QUESTION 4: DESIGNING THE DATA GRID VIEW USER INTERFACE.
Create a new form that will be opened when the user clicks the view message
button. It should show the user’s message content and its IDs (for the message
and the sender).
Me.Message_TBTableAdapter.Fill(Me.Contact_DBDataSet.Message_TB
)
Dim Message_ID As String = Me.Tag
Try
Me.Message_TBTableAdapter.FillByM_ID(Me.Contact_DBDataSet.Message_TB,
CType(Message_ID, Integer))
Catch ex As System.Exception
System.Windows.Forms.MessageBox.Show(ex.Message)
End Try
End Sub
End Class