Click here to Skip to main content
15,904,655 members

Comments by Member 8759797 (Top 10 by date)

Member 8759797 12-Aug-12 7:31am View    
Thank you for your time to suggest an answer. This code works the same so I don't think I understand what you mean. Would you please clarify how I can replace the text on the linkbutton to say "link" instead of saying the entire URL in the datasource. You make a good point that the datasource does contain the URL's and not the actual picture.
Member 8759797 11-Aug-12 11:15am View    
Thank you for your suggestion. It is helpful and I am sure I can use it. This problem I am having relates to passing a file path stored in a database to the asp:Image option thru the parameter ImageUrl. So the image is not on the database directly but rather the link to the picture. Can you help in this area? I hope so. Thanks for you time!
Member 8759797 11-Aug-12 11:09am View    
Yes thank you for your suggestion. I do feel this is a problem. In my ImgUrl I have "ImgLnk", but I don't know how to tell ImageUrl to use the file path in the database column ImgLnk and not to use ImgLnk as the file path.

This process works fine in Gridview when I use DataImageUrlField="ImgLnk". I am hoping to not use Gridview but to show the image directly. Thanks so much for any help you can offer!
Member 8759797 11-Aug-12 11:04am View    
So sorry! I see your dilemma...

My problem is that in the ImageUrl field I have "ImgLnk" which is a url field in my database. I can't show the picture because I can't convey to ImageUrl to use the file path "ImgLnk" in database to retrieve the picture. Currently ImageUrl is trying to find the path "ImgLnk" as thought ImgLnk were a Url.

I hope this explanation helps you guide me to the correction I need to make as this is the last part of the project and I am stuck! Thanks.
Member 8759797 10-Aug-12 23:40pm View    
Yes I think you are right and I will! Thanks.