I've been searching the forums here and everywhere I can possibly locate, to figure out how to pass 2 values on webform1 to webform2. Once I have the data on webform2, I will be calling an XML object to retrieve more data.
I don't want the information viewable (querystring), because it contains a controlID that would compromise security.
On webform1, I have code like this:
Session("Product"
= "Bankruptcy";
On webform2, I have this code:
lblProductType.Text = Session.("Product"
;
When I recompile the project, I get an error in the task list:
c:\inetpub\ 'System.Web.UI.Page.Session' denotes a 'property' where a 'method' was expected
What am I doing wrong?
I don't want the information viewable (querystring), because it contains a controlID that would compromise security.
On webform1, I have code like this:
Session("Product"
On webform2, I have this code:
lblProductType.Text = Session.("Product"
When I recompile the project, I get an error in the task list:
c:\inetpub\ 'System.Web.UI.Page.Session' denotes a 'property' where a 'method' was expected
What am I doing wrong?