movies
movie_Id int
title varchar (50)
image varchar(100)
I insert into movie table:
| movie_Id | title | image |
| 1 | Hyde Park on Hudson | 1.jpg |
| 2 | Playing for Keeps | 2.jpg |
| 3 | Cheerful Weather for the Wedding | 3.jpg |
| 4 | Heleno | 4.jpg |
| 6 | Deadfall | 6.jpg |
How to display the a image from folder in gridview which image name stored in sql server:
help me I want to use imagefield or img in gridview
" target ="_blank" >
SelectCommand="SELECT movie_Id, title, year, image, description FROM movies WHERE (title = @title)">
Manish Kumar ChoudharyPosted Feb 18, 2015, 7:41 AM
Go through following links it will help you
http://codedisplay.com/display-images-in-gridview-from-sql-server-database-table-using-asp-net-c-vb-net/
http://aspsnippets.com/Articles/Display-images-from-SQL-Server-Database-in-ASP.Net-GridView-control.aspx
http://www.codeproject.com/Articles/20782/Displaying-Images-from-a-Database-in-a-GridView