|
-
Jun 13th, 2007, 06:52 PM
#1
Thread Starter
Addicted Member
[2005] Adding photos to gridView
can someone help me to add photos to a gridview?
First of all I have a field in my sql database called ( photo ) of type (varchar(50)
I want to place my photos in a folder and specify the name of the photo in the database (photo) field.
How can I make the gridview display the photo ?
Please help , I've spent 2 hours trying to make it work
-
Jun 13th, 2007, 07:15 PM
#2
Re: [2005] Adding photos to gridView
what code do you have so far for the gridview.... by code i'm referring to the markup
-
Jun 19th, 2007, 09:38 AM
#3
Re: [2005] Adding photos to gridView
Give your gridview a template column. In the template column, place an image control. In the RowDataBound event, get a reference to the image control and pass to it the path available to you from your dataset.
Is this pushing you in the right direction?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|