<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/showrazor.css">
<span class="marked">@{<br>var totalMessage = "";<br>if(IsPost)<br>
{<br> var num1 = Request["text1"];<br>
var num2 = Request["text2"];<br> var total = num1.AsInt() + num2.AsInt();<br> totalMessage =
"Total = " + total;<br>}<br>}</span><br><!DOCTYPE html><br><html><br><body
style="background-color: beige; font-family: Verdana, Arial;"><br><form
action="" method="post"><br><p><label for="text1">First Number:</label><br><br>
<input type="text" name="text1"></p><br><p><label for="text2">Second
Number:</label><br><br><input type="text" name="text2"></p><br><p><input
type="submit" value=" Add "></p><br></form><br><p><span class="marked">@totalMessage</span></p><br>
</body><br></html><br>