I have a form with a bunch of data that's input (dropdowns, textboxes, etc.)
and I have a link to a popup window which uses the persits control to upload
a file. They work well independently. The problem is, I now need to
combine them into one page. Essentially, at the very bottom of the page I
need to include a file browse control, then on the page that it posts to, I
need to be able to insert the relevant data into a database, as well as save
the file.
There has to be a way to do this easily, but I'm just confused about the
enctype="multipart/form-data" aspect and what I'll need to be wary of when
merging these two forms.
Thanks 4 1394
"James" <le********@verizon.net> wrote: I have a form with a bunch of data that's input (dropdowns, textboxes, etc.) and I have a link to a popup window which uses the persits control to upload a file. They work well independently. The problem is, I now need to combine them into one page. Essentially, at the very bottom of the page I need to include a file browse control, then on the page that it posts to, I need to be able to insert the relevant data into a database, as well as save the file.
There has to be a way to do this easily, but I'm just confused about the enctype="multipart/form-data" aspect and what I'll need to be wary of when merging these two forms.
It works fine. You receive a MIME-forrmatted blob that can be parsed
to yield the name and value of every form element, including the name
and contents of the uploaded file. There can even be several files.
You'll probably need a component to parse this out and return items
that your ASP code can use. Such things are available, do a Google
search.
--
Tim Slattery
MS MVP(DTS) Sl********@bls.gov
"James" <le********@verizon.net> wrote in message
news:uH**************@TK2MSFTNGP14.phx.gbl... I have a form with a bunch of data that's input (dropdowns, textboxes, etc.) and I have a link to a popup window which uses the persits control to upload a file. They work well independently. The problem is, I now need to combine them into one page. Essentially, at the very bottom of the page I need to include a file browse control, then on the page that it posts to, I need to be able to insert the relevant data into a database, as well as save the file.
There has to be a way to do this easily, but I'm just confused about the enctype="multipart/form-data" aspect and what I'll need to be wary of when merging these two forms.
Read the persists documentation - it should provide a detailed explanation
on how to handle this.
--
Tom Kaminski IIS MVP http://www.microsoft.com/windowsserv...y/centers/iis/ http://mvp.support.microsoft.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS
"Tom Kaminski [MVP]" <tomk (A@T) mvps (D.O.T) org> wrote in message
news:Ok**************@TK2MSFTNGP15.phx.gbl... "James" <le********@verizon.net> wrote in message news:uH**************@TK2MSFTNGP14.phx.gbl...I have a form with a bunch of data that's input (dropdowns, textboxes, etc.) and I have a link to a popup window which uses the persits control to upload a file. They work well independently. The problem is, I now need to combine them into one page. Essentially, at the very bottom of the page I need to include a file browse control, then on the page that it posts to, I need to be able to insert the relevant data into a database, as well as save the file.
There has to be a way to do this easily, but I'm just confused about the enctype="multipart/form-data" aspect and what I'll need to be wary of when merging these two forms. Read the persists documentation - it should provide a detailed explanation on how to handle this.
Actually Persits - www.persits.com -- Tom Kaminski IIS MVP http://www.microsoft.com/windowsserv...y/centers/iis/ http://mvp.support.microsoft.com/ http://www.iistoolshed.com/ - tools, scripts, and utilities for running IIS This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: matt |
last post by:
I have compiled some code, some written by me, some compiled from
various sources online, and basically i've got a very simple flat file
photo gallery. An upload form, to upload the photos and give...
|
by: mark |
last post by:
How do I detect that a particular form element is a file upload or if
the file upload has worked?
In the Python cgi module documentation I found suggested code...
form = cgi.FieldStorage()...
|
by: pbd22 |
last post by:
hi.
i am having probs understanding how to grab a file being uploaded from
a remote client. i am using hidden input fields for upload such as:
<input id="my_file_element" type="file"...
|
by: hotflash |
last post by:
Hi All,
I found the best pure ASP code to upload a file to either server and/or MS Access Database. It works fine for me however, there is one thing that I don't like and have tried to fix but...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
| |
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: tracyyun |
last post by:
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
|
by: conductexam |
last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
|
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| |