unable to display the image in gridview
-
hi sir i want to display the image in gridview column.and path i have from database.so iam using following. product_image is a column of database which conatin the path of images.but it does not display the image . please help me.
-
hi sir i want to display the image in gridview column.and path i have from database.so iam using following. product_image is a column of database which conatin the path of images.but it does not display the image . please help me.
I think the path in the database doesnt maps with your virtual directory. You must specify a path which the client can directly point, means path relative to virtual directory. check view-source to see what is the path rendered in the client side.
Abhishek Sur **Don't forget to click "Good Answer" if you like this Solution.
My Latest Articles-->** Microsoft Bing MAP using Javascript
CLR objects in SQL Server 2005
Uncommon C# Keywords/xml> -
hi sir i want to display the image in gridview column.and path i have from database.so iam using following. product_image is a column of database which conatin the path of images.but it does not display the image . please help me.
Can you look at the page source and see if the image urls are being read correctly from the DB. Also check if the server has access to the locatin of the images.
-
hi sir i want to display the image in gridview column.and path i have from database.so iam using following. product_image is a column of database which conatin the path of images.but it does not display the image . please help me.
Here is one of my complete article on the same, Displaying Image in Gridview from Database[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
-
Here is one of my complete article on the same, Displaying Image in Gridview from Database[^]
Abhijit Jana | Codeproject MVP Web Site : abhijitjana.net Don't forget to click "Good Answer" on the post(s) that helped you.
thank u very much sir you are great .you have solved my problem.