ASP.NET(vb.net) Request.QueryString() - Request.QueryString() : The QueryString collection retrieves the values of the variables in the HTTP query string.The HTTP query string is specified by the values following the question mark (?).
ShotDev Focus:
- ASP.NET(vb.net) Request.QueryString()
Syntax
Request.QueryString(variable)[(index)|.Count]
Example
AspNetRequestQueryString.aspx
<%@ Page Language="VB" %> <script runat="server"> Sub Page_Load(sender As Object, e As EventArgs) Me.lblText.Text = Request.QueryString("Var") End Sub </script> <html> <head> <title>ShotDev.Com Tutorial</title> </head> <body> <form runat="server"> <asp:Label id="lblText" runat="server"></asp:Label><br> </form> </body> </html>
Screenshot