title: how to bind a value of datasource to a checkbox in datalist with Eval()
body: <p>I have a datalist in my asp.net page. I bind a datasource to it in codebehind
  and I have a checkbox in this datalist.</p>
  
  <pre><code> var n = from gi in DataContext.Context.GalleryImages
                  join g in DataContext.Context.Galleries
                  on gi.GalleryID equals g.GalleryID
                  where g.UserID == UserID &amp;&amp; gi.GalleryID==GalleryID
                  select new
                  {
                      GalleryID = g.GalleryID,
                      ImageDescription = gi.ImageDescription,
                      GalleryName = g.GalleryName,
                      ImageFileName = gi.ImageFileName,
                      IsAlbumImage = gi.IsAlbumImage,
                      ImageID=gi.ImageID
                  };
  
          dlGalleryList.DataSource = n;
          dlGalleryList.DataBind();
  </code></pre>
  
  <p>When the "IsAlbumImage " is true the checkbox should be checked.
  How can I bind this property to the checkbox?</p>