cmd.CommandText = "select * from table where col like :XYZ ";
OracleParameter op = new OracleParameter( ":XYZ ", OracleType.NVarChar);
op.Value = "% " + textBox1.Text.Trim() + "% ";
cmd.Parameters.Add(op);
OracleParameter op = new OracleParameter( ":XYZ ", OracleType.NVarChar);
op.Value = "% " + textBox1.Text.Trim() + "% ";
cmd.Parameters.Add(op);