Tengo un problema con el siguiente código:
Código:
El error es: Operator '&&' cannot be applied to operands of type 'bool' and 'int'int vRamo = Convert.ToInt32(this.ddlRamo.SelectedValue); int vCategoria = Convert.ToInt32(this.ddlCategoria.SelectedValue); string vPClave = this.txtPClave.Text; if (vRamo!= 1 && vCategoria=1 && vPClave=null) { vTipo = 1; }

agradezco su ayuda!