Wrox Programmer Forums
ASP.NET 1.0 and 1.1 Professional For advanced ASP.NET 1.x coders. Beginning-level questions will be redirected to other forums. NOT for "classic" ASP 3 or the newer ASP.NET 2.0 and 3.5
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 1.0 and 1.1 Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old October 12th, 2006, 01:57 PM
Registered User
Join Date: Oct 2006
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to ramesh055 Send a message via MSN to ramesh055 Send a message via Yahoo to ramesh055
Default Viewing uploaded .txt/.doc/image file

i have a problem to view the contents of uploaded file. The problem is that which control i should use to view the contents of text and images and how...? Is anyone there who can help me... Plz send me the code and if possible some details also.

Old October 12th, 2006, 02:07 PM
Wrox Author
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons

Yes, Yes, and Yes.

I assume that by 'View the contents of uploaded file' you mean you wish to view it after it has been uploaded to the server. In the case of text file you dont have to really do anything except link to the file since it is text. Document file you will need to push down a new respone stream and change the headers of the HTTP Response to that of word and teh image you have to change the headers to push down an image.

All of these techniques are rudimentary and can be fetched from just about any asp.net book or website.

I will only tell you how to do it, not do it for you.
Unless, of course, you want to hire me to do work for you.

^^Thats my signature

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get Path of uploaded file in JSP murulikblr JSP Basics 0 April 17th, 2007 02:05 AM
how do i determine size of file being uploaded? kaos_frack Beginning PHP 3 January 10th, 2007 03:48 PM
deleting a file after it is been uploaded yts007 Dreamweaver (all versions) 1 August 16th, 2006 01:05 AM
Having trouble displaying txt doc on WinForm tpsmith78 VS.NET 2002/2003 1 January 22nd, 2004 12:35 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.