User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the ASP.NET section within the Web Development category of DaniWeb, a massive community of 375,219 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,279 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our ASP.NET advertiser: Lunarpages ASP Web Hosting
Views: 1132 | Replies: 10 | Solved
Reply
Join Date: Mar 2008
Posts: 47
Reputation: dskumar_85 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
dskumar_85 dskumar_85 is offline Offline
Light Poster

Upload image without using fileupload

  #1  
Mar 30th, 2008
hai ....

i want to upload the image from my system to database without using fileupload ,

i mean i want to upload the image from specific path for example ("c:\project\image\winter.jpg")..

i use the asp.net C#...

plz reply for my question ,if any one know's ........
AddThis Social Bookmark Button
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,122
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Upload image without using fileupload

  #2  
Mar 31st, 2008
the file upload component has a box where you can specify a path (eg. "c:\project\image\winter.jpg"), I would use that
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: Mar 2008
Posts: 47
Reputation: dskumar_85 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
dskumar_85 dskumar_85 is offline Offline
Light Poster

Re: Upload image without using fileupload

  #3  
Mar 31st, 2008
Originally Posted by majestic0110 View Post
the file upload component has a box where you can specify a path (eg. "c:\project\image\winter.jpg"), I would use that


sorry i can't understand ur answer>>>>>
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,122
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Upload image without using fileupload

  #4  
Mar 31st, 2008
when you add the file upload control to a web page, there is a text box and a browse button. The textbox allows a user to type in a specific directory path for example:

c:\project\image\winter.jpg
Last edited by majestic0110 : Mar 31st, 2008 at 8:09 am.
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: Mar 2008
Posts: 47
Reputation: dskumar_85 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
dskumar_85 dskumar_85 is offline Offline
Light Poster

Re: Upload image without using fileupload

  #5  
Mar 31st, 2008
i will try majestic0110....!!!

thk u ... bye
Reply With Quote  
Join Date: Oct 2007
Location: Bristol, UK
Posts: 1,122
Reputation: majestic0110 is on a distinguished road 
Rep Power: 3
Solved Threads: 47
majestic0110's Avatar
majestic0110 majestic0110 is offline Offline
Veteran Poster

Re: Upload image without using fileupload

  #6  
Mar 31st, 2008
let us know how it goes, remember to mark this thread as solved if this solves it!
Last edited by majestic0110 : Mar 31st, 2008 at 9:38 am.
If you have a quality, be proud of it and let it define you. Add it to the world!
If you got your answer, please mark the thread as Solved. It saves time when people are looking to contribute threads or for answers!
Reply With Quote  
Join Date: Mar 2008
Posts: 47
Reputation: dskumar_85 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
dskumar_85 dskumar_85 is offline Offline
Light Poster

Re: Upload image without using fileupload

  #7  
Mar 31st, 2008
sorry majestic0110......

by using that concept i upload only the path to database, but i want to upload the image to database...
Reply With Quote  
Join Date: May 2006
Posts: 19
Reputation: postmaster is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 1
postmaster postmaster is offline Offline
Newbie Poster

Re: Upload image without using fileupload

  #8  
Apr 1st, 2008
You may use: File Field (Html control) - to locate image file from your system and upload to your database. I found an example at http://www.programmingknowledge.com/ImageUpload.aspx
Reply With Quote  
Join Date: Aug 2005
Location: Ohio
Posts: 204
Reputation: plazmo is an unknown quantity at this point 
Rep Power: 3
Solved Threads: 16
plazmo's Avatar
plazmo plazmo is offline Offline
Posting Whiz in Training

Re: Upload image without using fileupload

  #9  
Apr 1st, 2008
are you trying to upload this image from every visitor of the page or just you?
I dont believe it is possible to upload a file from a visitor, because then nothing would stop you from taking any file off a persons computer.
Reply With Quote  
Join Date: Mar 2008
Posts: 47
Reputation: dskumar_85 is an unknown quantity at this point 
Rep Power: 1
Solved Threads: 1
dskumar_85 dskumar_85 is offline Offline
Light Poster

Re: Upload image without using fileupload

  #10  
Apr 1st, 2008
ya i upload the image from every visitor
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

DaniWeb ASP.NET Marketplace
Thread Tools Display Modes

Similar Threads
Other Threads in the ASP.NET Forum

All times are GMT -4. The time now is 3:26 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC