Click here to Skip to main content
15,882,152 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How To Store And Reterive image into database using Streaming Concept in WCF Service ? i also using json,javascriptand ajax call in my application.
Posted

1 solution

While using streaming concept always prefer to store image path in database,not the actual image . By doing this your work will be more simple just get the path value which is in string/varchar not in the byte format.While posting value into database 1st create a folder in your project solution and use that as virtual directory for saving image in database.
 
Share this answer
 

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