IList<ImageList> list = imageManager.ShowImageListByimgtype(3);
IList<ImageList> imageList1 = new List<ImageList>();
IList<ImageList> imageList2 = new List<ImageList>();
foreach (ImageList imglist in list)
{
if (imglist.PageUrl != "")
{
imageList1.Add(imglist);
}
else
{
imageList2.Add(imglist);
}
}
dlImg.DataSource = imageList1;
dlImg.DataBind();
dlImga.DataSource = imageList2;
dlImga.DataBind();