How to insert picture into sql server database 2005 RRS feed

  • Question

  • I have a c# app that i am trying to upload a image to a ms sql server 2005 database. in my app i also want to be able to read the database to retrieve the picture that was uploaded. I have been searching for this for a while and most sites say that i cannot use the image data type that is given, i have to use nvarchar(max). I dont understand why cant you just do a simple upload of a image to a database just like insert into statement. Please help! i just need code mostly to read and write the picture to the database
    • Moved by Bob Beauchemin Saturday, March 27, 2010 3:49 PM Moved to a more relevent forum (From:.NET Framework inside SQL Server)
    Monday, March 22, 2010 10:05 PM


  • Have a look on this links, hope that helps




    Thursday, March 25, 2010 7:51 AM