Start by fixing the
SQL Injection[
^] vulnerability in your code.
Then, check your column name. Is it really called
_name
(with a leading underscore character)? If so, you'll need to wrap it in square brackets.
Try something like this:
Dim da As New OleDbDataAdapter("SELECT * FROM AMORLITO WHERE [_name] = ?", con)
da.SelectCommand.Parameters.AddWithValue("p0", TextBox1.Text)
Dim ds As New DataSet()
If da.Fill(ds, "AMORLITO") Then
Dim view As DataView = ds.Tables(0).DefaultView
source1.DataSource = view
DataGridView1.DataSource = view
Else
MsgBox("NO DATA!")
End If