title: List as DataSource for DataList
body: <p>All Types implement IEnumerable interface could be used for a DataSource of a DataList. For example List. But what we will write for the data bound expression in ItemTemplate?</p>
  
  <pre><code>List&lt;int&gt; myList = new List&lt;int&gt;();
  for(int i=0; i&lt;10; i++)
     myList.Add(i);
  
  myDataList.DataSource = myList;
  
  ...
  &lt;ItemTemplate&gt;
  &lt;asp:TextBox ID="myTextBox" runat="server" Text='&lt;%# Bind(???) %&gt;' /&gt;
  &lt;/ItemTemplate&gt;
  </code></pre>