A
Alexander Heimann
Greeting Everyone!
My situation is as follows. I would like to pass a hidden form
variable to a classic asp page. The hiddend form variable I would like
to send is a guid i created using the code below in my login page.
System.Guid myguid = System.Guid.NewGuid();
Session["GUID"] = myguid;
I would like to pass this guid to the classic asp page using a hidden
field in my form I set up the html below
<form id="form1" method="post" runat="server" action ="classicASP.asp"<input type ="text" id="myguid" runat="server">
in my C# code behind i declared the inputfield as
protected System.Web.UI.HtmlControls.HtmlInputHidden myguid;
then in the page load event I attempted to assign myguid the value of
Session["GUID"] = myguid;
I get the error i cannot implicitly convert type 'object' to
"System.Web.UI.HtmlControls.HtmlInputHidden
Any idea's?
Thanks in advance everyone
Alex
My situation is as follows. I would like to pass a hidden form
variable to a classic asp page. The hiddend form variable I would like
to send is a guid i created using the code below in my login page.
System.Guid myguid = System.Guid.NewGuid();
Session["GUID"] = myguid;
I would like to pass this guid to the classic asp page using a hidden
field in my form I set up the html below
<form id="form1" method="post" runat="server" action ="classicASP.asp"<input type ="text" id="myguid" runat="server">
in my C# code behind i declared the inputfield as
protected System.Web.UI.HtmlControls.HtmlInputHidden myguid;
then in the page load event I attempted to assign myguid the value of
Session["GUID"] = myguid;
I get the error i cannot implicitly convert type 'object' to
"System.Web.UI.HtmlControls.HtmlInputHidden
Any idea's?
Thanks in advance everyone
Alex