My exception is object referent not set!!!

This is my code that i use to retrive a single foto:
  string photoURL = string.Format("http://picasaweb.google.com/data/
entry/api/user/{0}/album/{1}/photoid/{2}",
myWebAlbum.Credentials.Username, "Softair", this.idFoto);
                try
                {
                    PicasaFeed feed = (PicasaFeed)myWebAlbum.Query(new
FeedQuery(photoURL));
                    PicasaEntry _photo = (PicasaEntry)feed.Entries[0];
                    PhotoAccessor _photoInfo = new
PhotoAccessor(_photo);

                    this.img_SelectPhoto.ImageUrl =
_photo.MediaUri.Content;
                    this.img_SelectPhoto.Width = new Unit(500);
                    ltl_descrzione.Text = _photoInfo.PhotoSummary;
                }

Thanks


On 2 Ott, 19:37, "Jeff Fisher (Google)" <[EMAIL PROTECTED]>
wrote:
> Hi,
>
> What is the exception you are receiving and what is the request you
> are making?
>
> Cheers,
> -Jeff
>
> On Oct 2, 1:34 am, Michele Gatti <[EMAIL PROTECTED]> wrote:
>
> > I'll try to paginate my picasawebgallery in my website,i create 2
> > button previus and next.
> > I recived the new page but if i'll try view a large image i recived a
> > error exception.
>
> > in this case if  i try again to view a large photo i see
>
> > Why
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Picasa Web Albums API" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/Google-Picasa-Data-API?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to