I have a form that retrieves a picture from a file and imports it into a picture box. I need to insert that picture into a table in SQL Server.

The table uses the image data type. I'm using ADO 2.5 architecture to access the database from my front-end VB app.

I have declared connection object, command object and a parameters object. How do I use the parameter object to pass the file to SQL Server?

How do I then retrieve back into a picture box?

Thanks.