C# 将站点中的图片加载到图像控件中
我是Windows phone的新手,所以我有一个问题: 我想从我的应用程序中的站点获取图片 说我应该使用这张图片: 我该怎么做C# 将站点中的图片加载到图像控件中,c#,image,windows-phone-7,web,httpwebrequest,C#,Image,Windows Phone 7,Web,Httpwebrequest,我是Windows phone的新手,所以我有一个问题: 我想从我的应用程序中的站点获取图片 说我应该使用这张图片: 我该怎么做 谢谢像这样的方法应该会奏效: BitmapImage image = new BitmapImage(new Uri("URL_TO_IMAGE", UriKind.Absolute)); imageControl.Source = image; 试试这个:
谢谢像这样的方法应该会奏效:
BitmapImage image = new BitmapImage(new Uri("URL_TO_IMAGE", UriKind.Absolute));
imageControl.Source = image;
试试这个: