I keep having this error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'Name like 'f'' at line 1 i want to filter data
This is my code can someone help me
MySqlConnection connection = new MySqlConnection(MyConnection);
connection.Open();
DataTable dt = new DataTable();
MySqlDataAdapter da = new MySqlDataAdapter("Select * from new_order where Full Name like '" + textBox1.Text + "'", connection);
da.Fill(dt);
dataGridView1.DataSource = dt;
connection.Close();