pero si pruebas utilizando esto
Código C#:
Ver originalprivate void buscarText(String texto){
SqlConnection Con = new SqlConnection("tuconexion");
SqlCommand Com = new SqlCommand();
SqlDataAdapter Adp = new SqlDataAdapter();
DataTable Dt = new DataTable();
Con.Open();
Com.Connection = Con;
Com.CommandType = CommandType.StoredProcedure;
Com.CommandText = "sp_Test";
Com.parameters.add(new SqlParamenter("@Numero",SqlDbType.NVarchar));
Com.parameters["@Numero"].value = texto;
Adp.SelectCommand = Com;
Adp.fill(Dt);
Con.Close();
tugrilla.DataSource = null;
tugrilla.rows.clear();
foreach(DataRow r in Dt.rows){
Dt.rows.add(r.itemArray());
}
}
// en tu boton solo llamarias
buscarText(txtNumero.Text);