retrieve an image from sql
-
When I retrieve an image from sql database in the grid view I had the following (System.Byte[]) instead the image. What is the problem? Thank you
-
When I retrieve an image from sql database in the grid view I had the following (System.Byte[]) instead the image. What is the problem? Thank you
y_mmohd wrote:
When I retrieve an image from sql database in the grid view I had the following (System.Byte[]) instead the image.
Where are you getting the error? Is there any thing problem with byte conversion ? Have a look into this article, This is another way to show image from database to gridview. Displaying Image in Gridview from Database Here you have to store image path in the database rather than the image. Image will store in your hard drive.
cheers, Abhijit CodeProject MVP Web Site:abhijitjana.net View My Recent Article
-
When I retrieve an image from sql database in the grid view I had the following (System.Byte[]) instead the image. What is the problem? Thank you
Check out Links http://www.odetocode.com/Articles/172.aspx\[^\] http://aspalliance.com/140\[^\]
Regards Aman Bhullar www.arlivesupport.com[^]
-
You are not displaying images correctly. Check this link[^]
I Love T-SQL "Don't torture yourself,let the life to do it for you." If my post helps you kindly save my time by voting my post.
-
When I retrieve an image from sql database in the grid view I had the following (System.Byte[]) instead the image. What is the problem? Thank you
Thanks you for being Helpful, I need your advice I want to create a web site for shopping online. The customers can upload their images to the web. What is the best solution for this: 1- To store the image inside the table in the sql server. 2- Or to store the images inside a folder in the web.