I'm unable to output variable from code behind to aspx file. Please help me out, I'll be thankful. Here is code of aspx.cs and aspx files:
protected void Page_Load(object sender, EventArgs e)
{
String Marks = (String) (Session["Marks"]);
}
Here is code of aspx file:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<h1> <%=Marks%> </h1>
</div>
</form>
</body>
</html>