|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Get inside! Sample the range of functionality easily built with JMSL Library for Time Series Data Analysis, Heat Maps, Portfolio Optimization, Monte Carlo Simulation, Stock Price Charting and more. Download Now! |
|
#1
|
|||
|
|||
|
Multiple file name insert
I'm trying to make a form that allows the user to select multiple files from their computer, and then INSERTS those file names into an access database using ASP. I also don't want to have a seperate <input = file> tag for each one???
Is this possible? Thanks in advance. |
|
#2
|
||||
|
||||
|
Once you have the file names, the INSERT statement is easy. However, ASP is a server-side technology. Getting the filenames from the client isn't really possible. You might be able to write and use an ActiveX component to do this, otherwise you will need to get the file names another way.
If the user is typing in the file names themselves, then ignore what I just said, everything works fine. http://www.w3schools.com/sql/sql_insert.asp is how to write an insert statement HTH |
|
#3
|
|||
|
|||
|
so if I have the user type the names into say, a textarea...how would I go through those one at a time?
|
|
#4
|
||||
|
||||
|
Look at using the split() function, and tell the users to put a space or other delimiter that won't be in the filenames themselves, then split() on that delimiter and parse the string that way.
|
|
#5
|
|||
|
|||
|
Quote:
You'll still need to create the active x component or java applet |
![]() |
| Viewing: Dev Shed Forums > Programming Languages - More > ASP Programming > Multiple file name insert |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|