2014年7月13日 星期日

[RESOLVED] Display an Image


I want to display the image saved in the database in the listview.........i have applied my of the working codes and also watched videos but nothing works...just display an empty page.....now don't know what to do........please help me.


also tried with generic handler but failed



Hi,


This should definitely work for you,


http://www.dotnetcurry.com/ShowArticle.aspx?ID=175


Hope this helps!




still not working........help me......give me the code whichis tested



still not working.......give me the code which is tested......i want the code for list view........database is fetching but not the images




Hi,


If you store image path in the database, you can use imageField like this



For detailed information, you can refer here


http://www.aspsnippets.com/Articles/Display-Images-in-GridView-Control-using-the-path-stored-in-SQL-Server-database.aspx


http://www.codeproject.com/Articles/20782/Displaying-Images-from-a-Database-in-a-GridView


And if it doesn't work for you, you should check if the image path is right.


And refer the thread


http://highoncoding.com/Articles/166_Displaying_Images_in_a_GridView.aspx


Hope it can help you 



thanx........finally got implimented..........



沒有留言:

張貼留言