how to create connection between MySQL table to query in c# : i write the query for insert data to MySQL table "Persons":
 SqlConnection con = new SqlConnection();
            try
            {         
                String insert = "INSERT INTO Persons (id,Name,Surname,Address,Phone) VALUES ('" + txtId.Text + "','" + txtName.Text + "','" + txtSurname.Text + "','" + txtAddress.Text + "','" + txtPhone.Text + "')";
                con.Open();
                SqlCommand cmd = new SqlCommand(insert,con);
                cmd.ExecuteNonQuery();
                con.Close();
            }
            catch
            {
                MessageBox.Show("Id is not valid");
            }
But its not work. I have one connection for all database, but its not work for specific table. how i can to create connection between specific table to query in c#? 