G
Gabriël
Hi Folks,
If got a piece of code in which a IF-statement is true, but still the ELSE
code is excecuted. (While debuging it constantly jumps to the ELSE, while
the expression, according to the Command Window & Watch is true)
Code:
if (Request.QueryString["Id"] != null)
{
if (ViewState["action"] == "editing")
{
(..)
}
else
{
(..)
}
}
Any help would be appriciated!
Greets,
Gab
If got a piece of code in which a IF-statement is true, but still the ELSE
code is excecuted. (While debuging it constantly jumps to the ELSE, while
the expression, according to the Command Window & Watch is true)
Code:
if (Request.QueryString["Id"] != null)
{
if (ViewState["action"] == "editing")
{
(..)
}
else
{
(..)
}
}
Any help would be appriciated!
Greets,
Gab