Re: c# asp.net OpenFileDialog
- From: siccolo <aleksisa@xxxxxxxxxxx>
- Date: Tue, 8 Jul 2008 07:35:55 -0700 (PDT)
On Jul 7, 11:42 am, christopher.e.reyno...@xxxxxxxxx wrote:
I am writing a web app that inserts audio files into a sql server
database, and i would like most of the insertion to take place
manually. I have already written code that allows me to select a
dynamic amount of files individually for the database insertion, but I
would like to be able to simply select their containing directory and
iterate through each file of the specific type one-by-one, calling my
sproc to insert it. This would eliminate the need for my individual
selection. Is this possible in a web app? Would I have to use an
ActiveX control, since I want this to take place client-side for
administrators only? Please give me a detailed example if you have an
idea for the solution. Thank you,
Christopher Reynolds
you can use FileSystemObject() (but you will get security prompt from
IE) from within javascript to iterate in folders/files, and then send
a file one-by-one to a web service.
Or you can use Flash to use for a OpenFileDialog (I'm using
SWFUpload() compnent, for example)
see at http://www.siccolo.com/Articles/CodeProject/UploadControl_Javascript/upload_control.html
more at http://www.siccolo.com/articles.asp
.
- References:
- c# asp.net OpenFileDialog
- From: christopher . e . reynolds
- c# asp.net OpenFileDialog
- Prev by Date: Re: ASP.NET read value of javascript variable
- Next by Date: Re: Convert web page to pdf
- Previous by thread: Re: c# asp.net OpenFileDialog
- Next by thread: DotNetNuke
- Index(es):
Relevant Pages
|