Click here to Skip to main content
15,895,799 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
How to save image in silverlight using sql server
Posted

How to save image in silverlight using sql server
 
Share this answer
 
Comments
Pete O'Hanlon 28-Oct-11 6:31am    
You've already asked this question. Why have you posted it as a solution?
daminjohny 12-Nov-11 4:17am    
sorry i need the solution how to save image in sql using silverlight, please send me if you know...
Strictly speaking, you normally don't save the image in Silverlight (unless you are using a client side database, but this defeats the whole purpose of having a database to store files). The way to do this is to have a WCF RIA service written at the website end which you reference in the Silverlight application. This service will receive the file as a byte array, and use that array to write the data to the database.
 
Share this answer
 
HTML
<pre lang="java">

<big><big><big></big></big></big>












 
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