473,506 Members | 17,309 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

preview uploaded file

Hi there:

I have figured out how to take the uploaded file from the form input and
save it into the database, but I am wondering (and looking for examples)
how can I stream the image back to the browser directly from the form
element (not saving to the db and pulling it back out) as the ImageURL for
another web control so they can 'preview' the image prior to saving to the
DB?

Thanks
Nov 19 '05 #1
1 2067
U can use response.write in a simple way .But before writing to response be
sure u ve cleared response and specified your content type as waht ever u
want.

If u would like to composition on an asp.net page and more than one image, u
can create a webpage , let me call it downloader.aspx and use server.execute
to allow downloader.aspx to print something out.

--

Thanks,
Yunus Emre ALPÖZEN
BSc, MCAD.NET

"Tarren" <no***********@thanks.com> wrote in message
news:u8**************@TK2MSFTNGP10.phx.gbl...
Hi there:

I have figured out how to take the uploaded file from the form input and
save it into the database, but I am wondering (and looking for examples)
how can I stream the image back to the browser directly from the form
element (not saving to the db and pulling it back out) as the ImageURL for
another web control so they can 'preview' the image prior to saving to the
DB?

Thanks

Nov 19 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
1907
by: Martin S | last post by:
I have a form that sends data on to another page so that the user can preview it before it is inserted in a database table. The problem is that the form sends both text and possibly an image to...
0
5587
by: Mike | last post by:
Sites using thumbnail preview for world wide web file navigation and searching. Below are list of sites that are either researching or providing thumbnail preview images for online web...
7
14340
by: Pat | last post by:
I would like to send the Print Preview of a MS Access form to a Snapshot file. The form contains an OLE graph. BACKGROUND A snapshot of a report is possible. If I could I would use a report to...
5
2613
by: Dave A | last post by:
I am writing an ASP.NET tool that will allow the client to create their own online froms. ie the client can add tect boxes, text, drop downs,etc with absolutely no technical skill what so ever....
6
1445
by: seaside | last post by:
seaside schrieb: Uploaded the new release preview-1.2 - Optimized GUI - First release of 'Data Inspector' - Added 'Print...' feature - Source code now get highlighted using color
2
1548
by: Muddasir | last post by:
Hi All. Anyone plz tell me how can I upload a file with the file name of my choice. am having problem with this, the file got uploaded but not with the name I wanted to...how can I do this...
2
1091
by: Mufasa | last post by:
I've got a spot where a user can upload a file. I then want to have a button appear once the file has been uploaded that they can click on that will show them a preview of the file. What's the...
4
1339
pradeepjain
by: pradeepjain | last post by:
Haii, I am making aform where in a photo needs to be uploaded..say lke when he browes the photo and selects a pic he must be shown a preview of the pic and then when he finally saves the...
7
9500
by: sandeepk84 | last post by:
Hi all... I have file upload option in my web application. I use Struts 2. I wanted to show a preview of the uploaded file to the user. The uploaded file can be of any type like...
0
7220
marktang
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,...
0
7105
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...
0
7371
jinu1996
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...
0
7479
tracyyun
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...
1
5037
isladogs
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...
0
4702
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...
0
3188
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1534
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 ...
1
757
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.