<%@ Page Language="C#" AutoEventWireup="true" CodeFile="CrossPagePosting.aspx.cs" Inherits="CrossPagePosting" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
   <title>Test przesyłania danych między stronami</title>
</head>
<body>
<form id="form1" runat="server">
   <div>
      Prosze podać imię:
      <asp:TextBox ID="name" runat="server" />
      <br />
      Proszę podać ulubionego autora:
      <asp:DropDownList ID="myList" runat="server" >
         <asp:ListItem>Wybierz autora</asp:ListItem>
         <asp:ListItem>Harison</asp:ListItem>
         <asp:ListItem>Lem</asp:ListItem>
         <asp:ListItem>Sapkowski</asp:ListItem>
      </asp:DropDownList><br />
      <asp:Button ID="btnClick" runat="server" 
         Text="Wyślij" PostBackUrl="OtherPage.aspx" />
   </div>
</form>
</body>
</html>
