I have an ASP.net program. It contains: <% If Request.ServerVariables("REQUEST_METHOD") = "POST" Dim num = Request.Form("TextBox1") End If %> Code (markup): This will bring TextBox1 from another aspx file using the post method. What I want to know is how to get the variable "num" into a vb program later in the same file? One way: <asp:Label ID="num1" runat="server" Text="<% num %>"></asp:Label> Code (markup): Is there any way of inserting the variable right into the vb program itself?