tags:

views:

79

answers:

2

What is the easiest way to upload images to database using C#?

+1  A: 

Please see: Best way to save/load pictures with .Net & SQL Server 2005?

Mitch Wheat
A: 

There is only one way to upload them to database. Just write a query with sqlparamerters and set a parameter value to Byte[] of image.

If you ask me, Whats the easiest way of storing them in database. Then I would say BLOB streaming engine. Its the best solution, but its available only for MYSQL. It has a tiny webserver embedded in it. Which allows to stream upload images to database using HTTP PUT.

claws