<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Example23.aspx.cs" Inherits="WebFormsApp.Example23" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
<%-- Listing 20-23 --%>    
<%
    System.Collections.Specialized.NameValueCollection qs =
         Request.Unvalidated.QueryString;
    foreach (string paramKey in qs)
    {
%>
        <div>
        Klucz <%: paramKey %>, wartość: <%: qs[paramKey] %>
        </div>
<%
    }
%>

    </div>
    </form>
</body>
</html>
