AspdotnetCodes.com
Search
Articles
Books
Resources
Asp.Net News
Downloads
Free Tech Magazines
Asp.Net Web Hosting
Archives
Softwares
Newsletter
Suggest Us
Link to Us
Feeds Subscription
Articles
Questions & Answers
Tips & Tricks
 Inserting Image into Database and Display the Image in a GridView with Handler.ashx
Posted by Basheer on  12/10/2007 1:47:25 AM Category: Asp.Net 2.0
Add to my favorites
Email to friend
I done this sample but one problem is there.The problem is data only display in Gridview but image not display what can i do? please help me

Post Your Reply Post New Question

 Viewer's Reply
Check your Handler.ashx
Answered By Moderator1 on 12/21/2007 4:08:25 AM
Hi,

If there is any error in the Handler.ashx, the error will not be displayed in the website. Instead it will not display the image. So please check the Handler file.

Then also check the Image control's ImageUrl is assigned properly like follows

ImageUrl='<%# "Handler.ashx?id=" + Eval("Img_Id") %>'

Thats it. Hope this will help you.
 
Post Your Reply If you still have problem, post it again under this reply for better response.

 
Sponsored by
Backup and Recovery Best Practices for Microsoft SQL Server 2005
Web Application Security — How to Minimize Prevalent Risk of Attacks
SearchSAP