Re: Setting uploaded files count to synchronize with MaxFilesLimit?

  •  04-26-2010, 10:44 PM

    Re: Setting uploaded files count to synchronize with MaxFilesLimit?

    Hi,
     
    Are you using UploadAttachments?
     
    Maybe you can try this code :
     
    while(uploader1.Items.Count>0)
    {
        uploader1.Items[0].Remove(); 
       //Remove() :  remove it from collection but do not delete the temp file
       //Delete() : remove it from collection and delete the file
    }
     
    Regards,
    Terry
View Complete Thread