View Single Post
  #7 (permalink)  
Old December 1st, 2010, 11:44 PM
tostermann tostermann is offline
Registered User
 
Join Date: Nov 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I finally was able to solve my problem after stepping away for a day and looking at it with fresh eyes.

I restructured my website to be in the same layout as the book. However, that didn't help. Ater running a couple tests and looking closer at the data being inserted into the database tables, I realized that GigsPics was part of my picture names in the ImageURL.

It turns out this was because of a typo in my virtual folder string.

string virtualFolder = "~/Site/GigPics";

when changed to string virtualFolder = "~/Site/GigPics/"; in the code behind it works great.

I knew it was something simple. Thanks for your help! The book is great.
Reply With Quote