private Boolean concatenarCriterio(TextBox txt, ComboBox combo, string criterio)
{
if (this.datosCorrectos(txt, combo))
{
this.query += " AND ";
this.query += this.nombreColumna(combo.Text) + criterio;
string mensaje = "'" + txt.Text + "'" + " sobre el campo " + combo.Text;
if (this.filtro == 1)
txtFiltros.Text += "Se ha agregado el filtro por contenido del valor " + mensaje + System.Environment.NewLine;
else
txtFiltros.Text += "Se ha agregado el filtro por igualdad del valor " + mensaje + System.Environment.NewLine;
return true;
}
return false;
}