web 2.0

ASP.NET(vb.net) & Request.QueryString

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

ASP.NET(vb.net) Request.QueryString()
.
.
.
Download this script.
Download

1 Star2 Stars3 Stars4 Stars5 Stars6 Stars7 Stars8 Stars9 Stars10 Stars (No Ratings Yet)
Loading ... Loading ...

Leave a Reply

You must be logged in to post a comment.