Skip to main content
Participant
Jun 26, 2008 10:00 PM UTC
Question

How to Upload Images from ASP to SQL Server

Hello,
I am trying to create a page that will allow users to upload photos and display the thubnails on a webpage. I am using SQL Server and Dreamweaver CS3 to create .asp pages. I have attemted to use the Dreamweaver Developer Toolbox built in feature of "Multiple image upload and save to database wizard" I get a message that states, "This product was designed to work with any of the following server models: PHP MySQL, ASP VBScript, ColdFusion"

I am connected to a local IIS Server and I am creating the page as ASP VBScript, I have verified I have a live connection to the database.

The SQL Server database is a very simply 3 column table called "Images" with IDimage, image_name, and image.
IDimage (int), image_name (nvarchar), image (image).

Due to not beeing able to use the Developer Toolbox built in feature to accomplish this, I have used the form File Field to assist in creating the form and browse button, adding only a submit button.

When I do try to upload the image it will allow me to browse for file, when I go to submit the form clears and nothing is uploaded to the database.

Can someone assist me in how to be able to upload an image to database and then display the image on another page?

Thank you
This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Inspiring
Jul 2, 2008 8:25 AM UTC
Clay101 wrote:
> Can anyone please assist?
> Thank you

I would probably try asking for help in the ADDT forum, this one is very
quiet these days.

Steve
Translate
Clay101Author
Participant
Jul 1, 2008 10:02 PM UTC
Can anyone please assist?
Thank you
Translate