this code works but it doesnot display multiple records.. like
if i search for Andrew, i want my code to display all names similar to
Andrew,
Alex,
Adam..etc
can anyone please help me with the code. Mu code is listed below. thanks
Private Sub Find_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
Dim dtsr As DataTable
Dim search As String
search = Form1.txtsearch1.Text
Dim da As OleDb.OleDbDataAdapter
da = New OleDb.OleDbDataAdapter("Select * from Application Where Name LIKE'" & Trim(Form1.txtsearch1.Text) & "'", "Provider = Microsoft.Jet.OLEDB.4.0;Data Source=J:\Alumni\Alumni\Alumni\aadb.mdb")
dtsr = New DataTable
da.Fill(dtsr)
DataGridView1.DataSource = dtsr
End Sub