title: Bind LINQ Query results to Repeater
body: <p>I have a query like this </p>
  
  <pre><code> var businessList = (from u in _DB.Users
  join cat in _DB.BusinessCategories on u.UserId equals cat.UserId
  select new BusinessDetails(u.Businesses.FirstOrDefault(), u)).Skip(0).Take(10);
  
  dlBusiness.DataSource = businessList.ToList();
  dlBusiness.DataBind();
  </code></pre>
  
  <p>I have Businessname as a member of the Business class . I have a DataList as below </p>
  
  <pre><code> &lt;asp:DataList ID="dlBusiness" DataKeyField="UserId" runat="server" &gt;
      &lt;ItemTemplate&gt;
              &lt;%#Eval("Business.BusinessName")%&gt;
      &lt;/ItemTemplate&gt;
   &lt;/asp:DataList&gt;
  </code></pre>
  
  <p>Here is class defination </p>
  
  <pre><code>public class BusinessDetails
      {
  
          public BusinessDetails(Business business,User user){
              this._Business = business;
              this._UserDetails = user;
  
          }
  
          private string _distance;
          public string Distance
          {
              get { return _distance; }
              set { _distance = value; }
          }
  
          private Business _Business;
          public Business BusinessData
          {
              get { return _Business; }
              set { _Business = value; }
          }
          private User _UserDetails;
  
          public User UserDetails
          {
              get { return _UserDetails; }
              set { _UserDetails = value; }
          }
  
  
      }
  </code></pre>
  
  <p>But this displays blank? How can I bind it to the DataList ?</p>