DaniWeb IT Discussion Community

DaniWeb IT Discussion Community (http://www.daniweb.com/forums/index.php)
-   ASP.NET (http://www.daniweb.com/forums/forum18.html)
-   -   Upload image without using fileupload (http://www.daniweb.com/forums/thread116514.html)

dskumar_85 Mar 31st, 2008 12:31 am
Upload image without using fileupload
 
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 ........

majestic0110 Mar 31st, 2008 8:16 am
Re: Upload image without using fileupload
 
the file upload component has a box where you can specify a path (eg. "c:\project\image\winter.jpg"), I would use that

dskumar_85 Mar 31st, 2008 8:50 am
Re: Upload image without using fileupload
 
Quote:

Originally Posted by majestic0110 (Post 573194)
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>>>>>

majestic0110 Mar 31st, 2008 9:09 am
Re: Upload image without using fileupload
 
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

dskumar_85 Mar 31st, 2008 10:35 am
Re: Upload image without using fileupload
 
i will try majestic0110....!!!

thk u ... bye

majestic0110 Mar 31st, 2008 10:38 am
Re: Upload image without using fileupload
 
let us know how it goes, remember to mark this thread as solved if this solves it!

dskumar_85 Mar 31st, 2008 11:49 pm
Re: Upload image without using fileupload
 
sorry majestic0110......

by using that concept i upload only the path to database, but i want to upload the image to database...

postmaster Apr 1st, 2008 1:04 am
Re: Upload image without using fileupload
 
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

plazmo Apr 1st, 2008 10:01 am
Re: Upload image without using fileupload
 
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.

dskumar_85 Apr 1st, 2008 10:20 am
Re: Upload image without using fileupload
 
ya i upload the image from every visitor


All times are GMT -4. The time now is 1:39 pm.

Forum system based on vBulletin Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©2003 - 2009 DaniWeb® LLC