protected void Page_Load(object sender, EventArgs e)
{
   // Miejsce na kod uytkownika inicjalizujcy stron.
   if (!IsPostBack)
   {
      // Tworzymy dwuwymiarow tablic dla list.
      // Pierwsza kolumna zawiera tytuy ksiek.
      // Druga kolumna zawiera numery ISBN ksiek.
      string[,] books = {
         {"Programming C#","0596006993"},
         {"Programming .NET Windows Applications","0596003218"},
         {"Programming ASP.NET","0596004877"},
         {"WebClasses From Scratch","0789721260"},
         {"Teach Yourself C++ in 21 Days","067232072X"},
         {"Teach Yourself C++ in 10 Minutes","067231603X"},
         {"XML & Java From Scratch","0789724766"},
         {"Complete Idiot's Guide to a Career in Computer Programming","0789719959"},
         {"XML Web Documents From Scratch","0789723166"},
         {"Clouds To Code","1861000952"},
         {"C++: An Introduction to Programming","1575760614"},
         {"C++ Unleashed","0672312395"}
      };

      // W tym miejscu zapeniamy listy.
      int i;
      for (i = 0; i < books.GetLength(0); i++)
      {
         // Dodajemy zarwno warto Text, jak i Value.
         ddlBooks.Items.Add(new ListItem(books[i, 0], books[i, 1]));
      }
   }
}
