Asp.net - images in gridview? (Vs2005)

Associate
Joined
5 Apr 2003
Posts
1,420
I'm trying to get these working but just cant :( I've set an IMG field in a database set up like.. <name>.jpg. When i go to the gridview options that shows my database, i go to gridview tasks > edit columns > go to selected field "IMG" > then under those properties "Data Format String". Under here i've entered ~/Images/{0}. I swear this worked before.. but doesn't seem to now? The images are kept in a folder called "Images" under the website creation.

Anyone have any idea what i'm doing wrong or could help me on msn? :P

Thanks, Sainte
 
Back
Top Bottom