Pure ASP.NET Upload for Dreamweaver MX

Welcome to the tutorials of Pure ASP.NET Upload.

What will you learn:

  • How to create a file upload 
  • restrict certain files or sizes of files from being uploaded
  • upload files and insert them in a database
  • and much more...

Pure ASP.NET Upload - List of records with images

Making a list of records with images

In this tutorial we will explain how to make a nice list of records with images. A detail page after the upload page.


Previous TutorialTutorials IndexNext Tutorial

How to do it

To make a list of images you have to:

  1. Make the new list page

    You can start with a new blank page.

  2. Add a Recordset

    You will need a recordset to get a list of all records.

  3. Insert File Name

    Put your cursor on the page. Open the Bindings Panel. Select Name and click insert.

    You will see {rs.Test.name} on your page.

  4. Add the image

    Next we will insert the image.

    Then click on Insert - Image. Instead of selecting an existing image from the File system, you should choose Data Sources !

    Then select the name field from the rsTest recordset. Because we uploaded all pictures to the images folder and store only the filename in the database, you need to put images/ before the database field.

  5. Add a Repeat Region

    Now that we have inserted the image, we need to make a repeat region from this record. So you can see a list of all records.

    First select the whole first row, then choose Repeat Region from the Server Behaviors palette.

    Now we have a full list of all existing images in the database.

  6. Save and done

    Save your page and upload it to your server, and you are done! Go to your website and test it - you should be able to list records!

Previous TutorialTutorials IndexNext Tutorial

George Petrov

George PetrovGeorge Petrov is a renowned software writer and developer whose extensive skills brought numerous extensions, articles and knowledge to the DMXzone- the online community for professional Adobe Dreamweaver users. The most popular for its over high-quality Dreamweaver extensions and templates.

George is also the founder of Wappler.io - the most Advanced Web & App Builder

See All Postings From George Petrov >>

Comments

Set FTP permissions using ASP?

March 31, 2008 by student 101

 

How to set (FTP) permissions on certain folders using ASP?
I have no problems doing this in PHP.

How to do it in ASP?
(CHMOD 0777 then CHMOD 0755 after your'e done with the uplaod?)

Cheers

You must me logged in to write a comment.