save image file into server
save image file into server
save image file into server
save image file into server
save image file into server
save image file into server save image file into server save image file into server save image file into server save image file into server save image file into server save image file into server save image file into server
save image file into server save image file into server
save image file into server
Go Back  Xtreme Visual Basic Talk > > > save image file into server


Reply
 
Thread Tools Display Modes
  #1  
Old 01-30-2008, 09:26 PM
aarumugavel_m aarumugavel_m is offline
Newcomer
 
Join Date: Nov 2007
Posts: 19
Default save image file into server


hi to all,

In my project i have one image image control. This image does not have the file becuase it taken from webcam. but i click the save button at that time that image save to server map path location? how. please tell very urgent?


Thanks & Regards,
Arumugavel M.
Reply With Quote
  #2  
Old 01-31-2008, 07:14 AM
shaul_ahuvasave image file into server shaul_ahuva is offline
Ultimate Contributor

Retired Leader
* Expert *
 
Join Date: Jul 2003
Location: Camp Hill, PA
Posts: 1,992
Default

You'll need to use the HtmlInputFile or FileUpload control to upload a file to your server. Once it's uploaded (i.e. the request is sent to the server), you can access the uploaded file via the control's properties (e.g. HtmlInputFile.PostedFile.InputStream or FileUpload.FileContents)

From there, you can simply write the file out to the file system using classes in the System.IO namespace.
Reply With Quote
Reply


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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
save image file into server
save image file into server
save image file into server save image file into server
save image file into server
save image file into server
save image file into server save image file into server save image file into server save image file into server save image file into server save image file into server save image file into server
save image file into server
save image file into server
 
save image file into server
save image file into server
 
-->