Hot Student Stories

Does anyone have a code for a VB Addison Playhouse Project?

Chelsea Hayes

in Schools

follow
followin
1 answer
1 view

1 answer


Annie Barnes on August 19, 2018

Private Sub btnDisplay_Click(ByVal sender as System.Object,ByVal e as System.EventArgs) Handles btnDisplay.Click Dim strName As String strName = InputBox("Enter all or part of the Name of the user:", "SearchRecords") If the String.IsNullOrEmpty(strName) and Then to Me.TblReservationsBindingSource.DataSource =Me.TblReservationsBindingSource.The data source for Most of the viewing of the records Dim records = From record In PlayDataSet.tblReservations Whererecord.Employer Like strName & "*" Select record Me.TblReservationsBindingSource.DataSource = records.AsDataView End If End Sub


Add you answer