Search   Articles   Dev Forums   Personalize   Favorites   Member Login   ASP.Net Hosting
DevASP.NET for ASP.NET, VB.NET, XML and C# (C-Sharp) Developers Sunday, September 07, 2008

Search Directory
ASP.NET
VB.Net
C-Sharp
SQL Server
 
FREE 12 month online training for ASP.NET & MS Expression Studio and a Free copy of MS Expression Web with Windows Server Purchase

Home > Search > Articles & Samples > ASP.NET 2.0 > Server Controls > Standard Control
Uploading a File using FileUpload control in ASP.NET 2.0        
Total Hits: 1366  |  Today: 0 Author: Aadil       Rating:  
Read Reviews | Write Review |   Your Rating: 

This simple article will show you how to upload a file to the server using the new FileUpload web control supplied in the new version of ASP.NET 2.0.
A lot of times you required that the user of your web page uploads a file from his/her system to your web server. Maybe it is his/her picture that he wants to share with others or some other document like a report of some kind.
In the previous version of ASP.NET 1.x there was an HTML control that was rendered as an input control of type file and you also need to set the form’s enctype to multipart/formdata to get the uploaded file on the server side code.
In ASP.NET 2.0 a new control called ..


What's New at DevASP.Net
09/07  Discover a Series of Fortunate Ev..
09/07  Juice Up Your App with the Power ..
09/07  AMO Lets You Dig Deeper into Your..
09/07  Simplify Data Layer Unit Testing ..
09/07  Enum Declarations, Template Funct..
09/07  StringStream, Methods with Timeou..
09/07  Unhandled Exceptions and Tracing ..
09/07  The Enterprise Library Data Acces..
09/07  DHTML-Enabled ASP.NET Controls
09/07  Creating A Breadcrumb Control
09/07  Root Out Elusive Production Bugs ..
09/07  Discover the Design Patterns You'..
09/07  Simplify Common Tasks by Customiz..
09/07  Dodge Common Performance Pitfalls..
09/07  Simplify UI Development with Cust..
09/07  Windows Forms - Creating and Pers..
09/07  Bare bones SourceSafe journal mon..
09/07  ProSysLib: Dissecting The Process
09/07  Tool for converting VC++2005 proj..
09/07  CBitmapEx - Free C++ Bitmap Manip..
Latest Posts at Dev Forums
displaying an xml file in datagridview
Tory Block
Deploying website to offline and onlin..
Deploying website to offline and onlin..
window service c#
kiossru
Regular expression
asp.net
Very urgent--
submit to the server
load gif image
focus
filter combo boxes in formview control
ASP Composite Control and Position
Caching as a Master DataSource w/t Rea..
Method returning values in Threadpool!
ADVERTISEMENTS USING XML FILE
DATALIST PROBLEM
FTP Downloading using C#
Nested gridview footer total by using ..

DevASP.Net - Disclaimer - Privacy
Copyright © 2008 DevASP.net