Click here to Skip to main content
15,906,708 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
I have uploaded image in database using fileupload and store this in the database table as of datatype as image...i used the stored procedure to retrieve the database info in datatable and i am getting that correctly in the datatable and the image as System.byte[]...Now the problem is how to display that image from the datatable into the detailview or gridview..that is convert the system.byte[] into the image


plz help
thanks in advance
Posted
Comments
[no name] 2-Mar-13 21:12pm    
Have you looked into a MemoryStream?
hinaiqbal 4-Mar-13 22:36pm    
i dont know how to use this when extracting the data from the data table and then convert the system.byte[] to image and again place this in data table

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