create a relationship between the first table and second table on the id column, then set the checkbox's DataSource to something likedatasource='<%# Container.DataItem.Row.GetChildRows("myrelation") %>'see similar example for a nested datalist here:http://www.aspnet101.com/aspnet101/aspnet/codesample.aspx?code=nest