title: Bind repeater to DirectoryInfo.GetFiles
body: <p>If I want to bind the files of a folder to a gridview, I can just do this:</p>
  
  <pre><code>GridView1.DataSource = New DirectoryInfo("C:\MyPix").GetFiles
  GridView1.DataBind()
  </code></pre>
  
  <p>...And this asp.net</p>
  
  <pre><code>&lt;asp:GridView ID="GridView1" runat="server"&gt;
   &lt;Columns&gt;
    &lt;asp:BoundField DataField="Name" /&gt;
   &lt;/Columns&gt;
  &lt;/asp:GridView&gt;
  </code></pre>
  
  <p>...But if I want to bind it to a repeater in stead, I would think I could display the filename like this:</p>
  
  <pre><code>&lt;asp:Repeater ID="Repeater1" runat="server"&gt;
  &lt;ItemTemplate&gt;&lt;%#Container.DataItem("Name")%&gt;&lt;/ItemTemplate&gt;
  &lt;/asp:Repeater&gt;
  </code></pre>
  
  <p>...But that gets me the error "No default member found for type 'FileInfo'."</p>
  
  <p>What to do?</p>