1
private void chkDeletePlaylistBind()      
{     
   chkDeletePlaylist.DataSource = objEntities.Playlists.OrderBy(del => del.PlaylistTitle).Distinct();
   chkDeletePlaylist.DataTextField = "PlaylistTitle";
   chkDeletePlaylist.DataValueField = "PlaylistID";
   chkDeletePlaylist.DataBind();
}

它不会将不同的值带到复选框列表中。请帮我解决这个问题。

4

0 回答 0