public String FormarWhere()
 {
     Logica.ConstruyeWhere objConstructorWhere = new ConstruyeWhere();
     if (txtCedula.Text != "")
     {
         objConstructorWhere.filtraCedula(txtCedula.Text);
     }
     return(objConstructorWhere.devuelveCadena());
 }
        public String FormarWhere()
        {
            Logica.ConstruyeWhere objConstructorWhere = new ConstruyeWhere();
            if (txtCedula.Text != "")
            {
                objConstructorWhere.filtraCedula(txtCedula.Text);
            }
            if (txtNombre.Text != "")
            {
                objConstructorWhere.filtrarNombre(txtNombre.Text);
            }
            if (txtApellido1.Text != "")
            {
                objConstructorWhere.filtrarApellido1(txtApellido1.Text);
            }
            if (txtApellido2.Text != "")
            {
                objConstructorWhere.filtrarApellido2(txtApellido2.Text);
            }
            if (txtJunta.Text != "")
            {
                objConstructorWhere.filtrarJunta(txtJunta.Text);
            }
            if (txtFechaCaduc.Text != "")
            {
                objConstructorWhere.filtrarFechaCaduc(txtFechaCaduc.Text);
            }
            if (cbSexo.Text != "")
            {
                objConstructorWhere.filtrarSexo(txtFechaCaduc.Text);
            }
            if (cbCanton.Text != "")
            {
                objConstructorWhere.filtrarSexo(cbCanton.Text);
            }
            if (cbDistrito.Text != "")
            {
                objConstructorWhere.filtrarDistrito(cbDistrito.Text);
            }
            if (cbProvincia.Text != "")
            {
                objConstructorWhere.filtrarProvincia(cbProvincia.Text);
            }

            return(objConstructorWhere.devuelveCadena());
        }