Click here to Skip to main content
15,890,527 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I have a mysql database for my website in which i store the path of the uploaded image.
As i am new to asp.net i would like to know which control is suitable for showing the image by retrieving the path from the database.Thank You.
Posted
Comments
Sergey Alexandrovich Kryukov 10-Mar-15 3:15am    
Show it in <img src=""/> element. If the file is already uploaded, you have it. :-)
—SA

1 solution

You asked "to know which control is suitable for showing the image ".
It is based on your needs, you may choose any controls to show images.
Refer these articles referred from Google, you may get some ideas.
https://msdn.microsoft.com/en-in/library/bb498210.aspx[^]
http://weblogs.asp.net/anasghanem/comparing-listview-with-gridview-datalist-and-repeater[^]
http://www.dotnet-tricks.com/Tutorial/aspnet/K0KJ111013-Difference-Between-Repeater-and-DataList-and-GridView.html</a>[^]
http://www.beansoftware.com/ASP.NET-Tutorials/Repeater-DataList-ListView-GridView.aspx</a>[^]

Hope this may helpful to you, and you may choose any control which one is suitable to your needs.
 
Share this answer
 
v3

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900