Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

hi to all,

 

i'm currently making an web aplication that uploads a directory of images to a database. That is done and now i want to stop the user to cancel the operation while it's running.

 

My ideia is something like this

 

Private Sub btnUpload_Click()

Try

put here code that will show the modal window

 

For Each file In directory

upload and insert in database

Next file

Close the modal window

Catch ex As Exception

response.write("ERROR")

End Try

End Sub

 

 

my problem is how do i kill the modal window when the all fotos are uploaded and inserted in the database (this is, when it leaves the for)??

 

 

 

thx to all

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...