Hola a todos!
Tengo un problema con el siguiente código:
Código:
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;
}
El error es: Operator '&&' cannot be applied to operands of type 'bool' and 'int'
agradezco su ayuda!