Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

How to Upload Images from ASP to SQL Server

New Here ,
Jun 26, 2008 Jun 26, 2008

Copy link to clipboard

Copied

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
TOPICS
Server side applications

Views

210
Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jul 01, 2008 Jul 01, 2008

Copy link to clipboard

Copied

Can anyone please assist?
Thank you

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jul 02, 2008 Jul 02, 2008

Copy link to clipboard

Copied

LATEST
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

Votes

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines