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

<!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>Using Generics</title>
    <link href="chapterStyles.css" type="text/css" rel="stylesheet" />
</head>
<body>
    <form id="form1" runat="server">
   <div id="container">
      <h1>Using Generics</h1>
      <p>These two list boxes illustrates the use of two <em>Generic</em> <code>List</code> collections</p>
      
      <asp:ListBox ID="lboxStrings" runat="server"    />
      <p></p> 
      <asp:ListBox ID="lboxCustomers" runat="server" 
         DataTextField="Name"
         DataValueField="Id" />    

     <p>This list boxes illustrates the use of a <em>Generic</em> <code>Dictionary</code> collection</p>

      <asp:ListBox ID="lboxDictionary" runat="server" 
         DataTextField="Value"
         DataValueField="Key" />            
   </div>
    </form>
</body>
</html>
