How to use -- Attachments1.Items.Add

  •  08-14-2009, 8:23 PM

    How to use -- Attachments1.Items.Add

    Hi! I have a web application that allows users to upload 5 images for their product that they want to sell. I was able restrict them to upload only 5 images without any problem.
     
    Heres an example;
     
    Upload 3 images on postback then insert the product and the images url in my SQLServer table. The problem now is when the user decides to come back and edit the product, what I want to happen is get the 3 images back from the database and populate the Attachments display (the table with paper clip icon and checkbox) and if the user clicks on remove to the existing items it'll remove the files in my web server. Is this possible?
     
    Thanks!
     
    - Ryan
     
View Complete Thread