title: Can't get my listbox to display objects
body: <p>Hello everyone I've been trying to put some objects in an ASP.NET list box but it's just not working.</p>
  
  <p>I do have an overridden ToString method so I can't understand why this statement won't work.
  Here's the code that I use:</p>
  
  <pre><code>for (int i = 0; i &lt; fitnessClassList.Count(); i++)
  {
      lbDisplayItems.Items.Add(fClassList.getFClass(i));
  }
  </code></pre>
  
  <p>And the errors that I get:</p>
  
  <pre><code>Error   2   Argument 1: cannot convert from 
                      'FitClassManage' to 
                      'System.Web.UI.WebControls.ListItem'    
  
  Error   1   The best overloaded method match for 
                      'System.Web.UI.WebControls.ListItemCollection.Add(System.Web.UI.WebControls.ListItem)' 
                      has some invalid arguments
  </code></pre>