Hi Roshawn,
Here's a way to pass values from one page to another without the messy
querystring.
You can pass Context and then use Server.Transfer. The code below shows the
starting page first and then the receiver page.
Let us know if this helps?
Ken
Microsoft MVP [ASP.NET]
' Page with hidden textbox:
<form id="Form1" method="post" runat="server">
<p>
<asp:textbox id="TextBox1" runat="server"
visible="False">Pass this!</asp:textbox></p>
<p>
<asp:button id="Button1" runat="server"
Text="Button"></asp:button></p>
</form>
Private Sub Button1_Click _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles Button1.Click
Context.Items("txtValue") = TextBox1.Text
Server.Transfer("targetpg.aspx")
End Sub
' targetpg.aspx that shows the passed value
<form id="Form1" method="post" runat="server">
<asp:label id="Label1" runat="server">Label</asp:label>
</form>
Private Sub Page_Load _
(ByVal sender As System.Object, _
ByVal e As System.EventArgs) Handles MyBase.Load
Label1.Text = CType(Context.Items("txtValue"), String)
End Sub