Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I am developing a wcf rest service ,which has a IOS client.When the ios app sends me a image in terms of byte array ,i have to read the byte array and have to store image to database from wcf service where i have to save image path not the image.

so please guide me or give me any solution regarding this.

thanks
Posted
Comments
[no name] 28-May-14 2:41am    
Instead of storing image into database store it in the Directory

I dont know why you people are so lazy now a days to use the search engine.

convert byte array to image in c#[^]
 
Share this answer
 
See this question: Store images in folder[^]. Maybe this will help. :)
 
Share this answer
 
Comments
Pravuprasad 28-May-14 1:41am    
thanks for the quick response ,but here i'm not getting the solution . My requirement is after the getting the byte[] how can i convert that to image so that i can store the path of the image into database .

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