hi the following code is a jquery multiple image uploader which adds an id to a database and saves the file.
The problem is that it is duplicating twice each item I upload and it looks like a problem with the httpfilecollection number of items
any ideas greatly appreciated
thanks
Imports System.Drawing
Imports System.Drawing.Imaging
Imports System.IO
Imports System.Data.SqlClient
Partial Class admin_addimage
Inherits System.Web.UI.Page
Private conn As SqlConnection
Protected Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
Try
' Get the HttpFileCollection
' for each of the files upload Go to the complete details ...