0
我使用下面的代码直接绑定所有的数据到列表中包括图像如何缓存下载的图像
void ListPostComingsoon_Completed(object sender, ListPostComingsoonCompletedEventArgs e)
{
ComingSoonList.ItemsSource = e.Result;
}
并且列表<>结构是类似下面
select new post
{
postid = (int)r.postid,
userid = (int)r.userid,
NofLikeString = r.NofLike.ToString() + " Likes",
title = r.title,
startdate = r.startdate.ToString(),
enddate = r.enddate.ToString(),
image = "http://localhost:6848/photo/" + r.image
}).ToList();
哪有我实现图片缓存(图片下载后单独显示)?
看看这个线程http ://stackoverflow.com/questions/4244662/image-control-asynchronous – outcoldman 2013-05-03 02:01:14