title: Binding a list of user-defined object to a repeater control
body: <p>I have the following class</p>
  
  <pre><code>class stu
  {
      public string username;
      public string password;
      public string fname;
      public string lname;
      public string faculty;
  }
  </code></pre>
  
  <p>suppose i have created this list:</p>
  
  <pre><code>list&lt;stu&gt;friends=new list&lt;stu&gt;();
  </code></pre>
  
  <p>i have filled this list with objects items so it now contains some students information. can any one tell me how to bind it to a repeater controller?</p>