Add image to apicture box from url in c# .net compact framework for mobile application

Jan 9 2010 7:21 AM
 HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(mdthumb.Url);
                    myRequest.Method = "GET";
                    HttpWebResponse myResponse = (HttpWebResponse)myRequest.GetResponse();
                    System.Drawing.Bitmap bmp = new System.Drawing.Bitmap(myResponse.GetResponseStream());
                    myResponse.Close();
                    PictureBox p = new PictureBox();
                    p.Bounds = new Rectangle(4, yp, 120, 90);
                    this.Controls.Add(p);
                    int hgt = bmp.Height;
                    int wth = bmp.Width;
                    p.Image = bmp;

hi iam using the above code to fetch images from url . this code is inside a foeach loop. But the problem is that it returns images in disorder way i.e. some times it display image for aparticular url and sometimes not for other url.

help        

help    

help


help