kennyaidan
Programmer
Hi, i'm a beginner asp.net programmer and i need help with an error i keep getting. I'm trying to input a session value into a text box.
The code i have takes in a value from a text box,
<input type="text" id="name" size="15" runat="server">
I then assign it a value
Session("sessionStoryId"
=name.value
i redirect to another page
response.redirect("edit1.aspx"
And then in edit1.aspx i am trying to populate a text box with the "sessionStoryId" value.
<input type=text id=storyid value=<%= session("sessionStoryId"
%> runat=server>
Can anyone please help because i don't know where i am going wrong.
Any help greatly appreciated
aidan
The code i have takes in a value from a text box,
<input type="text" id="name" size="15" runat="server">
I then assign it a value
Session("sessionStoryId"
i redirect to another page
response.redirect("edit1.aspx"
And then in edit1.aspx i am trying to populate a text box with the "sessionStoryId" value.
<input type=text id=storyid value=<%= session("sessionStoryId"
Can anyone please help because i don't know where i am going wrong.
Any help greatly appreciated
aidan