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

<!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 runat="server">
   <title>Kontrolka ListBox</title>
</head>
<body>
   <form id="form1" runat="server">
   <div>
      <h2>
         Kontrolka ListBox - Pojedyncze zaznaczenie</h2>
      <asp:ListBox ID="lbxSingle" runat="server" AutoPostBack="true" Rows="6"
         onselectedindexchanged="lbxSingle_SelectedIndexChanged"></asp:ListBox>
      <br />
      <br />
      <asp:Label ID="lblSingle" runat="server"></asp:Label>
      <h2>
         Kontrolka ListBox - Wiele zaznaczeń</h2>
      <asp:ListBox ID="lbxMulti" runat="server" AutoPostBack="true" 
         SelectionMode="Multiple" onselectedindexchanged="lbxMulti_SelectedIndexChanged"></asp:ListBox>
      <br />
      <br />
      <asp:Label ID="lblMulti" runat="server"></asp:Label>
   </div>
   </form>
</body>
</html>
