SyntaxError SyntaxError - 7 months ago 77
ASP.NET (C#) Question

Session value to TextBox Value

How to call a Session and use it as a value of Text Box Form. I am using

<form id="frmLog" name="frmLog" method="post" action="/Page/">
<input type="text" name="UserId" value="<%=Sessiopn["UserID"] %>">" />



Correct it to this. You have a typing mistake.

<input type="text" name="UserId" value="<%=Session["UserID"] %>" />