G
G
Hello,
I have two form fields:
ID="Field1"
ID="Field2"
And I would like to do the following in CODE BEHIND:
if (Field1 / Field2 > 0.5)
{
Response.Redirect("MoreThan.aspx")
}
I am unsure of the correct syntax. I would like to store the code as a
function in my Code behind .CS file, and call it when Field2 looses it's
focus after text has been input.
Any help would be appreciated.
Kind Regards,
G.
I have two form fields:
ID="Field1"
ID="Field2"
And I would like to do the following in CODE BEHIND:
if (Field1 / Field2 > 0.5)
{
Response.Redirect("MoreThan.aspx")
}
I am unsure of the correct syntax. I would like to store the code as a
function in my Code behind .CS file, and call it when Field2 looses it's
focus after text has been input.
Any help would be appreciated.
Kind Regards,
G.