Programming, website development forum Get latest updates by RSS Follow TechnicalTalk on Twitter Follow TechnicalTalk on Facebook 
HomeSearchRecent PostsLoginRegisterContact Us

Username  
Password    
  Forgot your password?  

Pages: [1]   Go Down
 
  Email this topic  |  Print
0 Members and 1 Guest are viewing this topic.

Uploading file using Asp.net and C#

 
webmaster forum
nikon  Offline
Activity
0%
 
New Coder
Posts: 20
Topics: 13
September 10, 2008, 09:49:33 PM

Hello

I am using vs 2005, I want to know how can I upload file to server using Asp.net and c# page. I have already kept filefiled component on the form, I want to send file to server when I click the button.

Thanks in advance for any help regarding this.
 
webmaster forum
dianna  Offline
Activity
0%
 
Regular Coder
Posts: 88
Topics: 10
WWW
August 07, 2011, 11:28:02 PM

Create an ASP.NET application
In Microsoft Visual Studio .NET, follow these steps to create a new application to upload files to the Web server:

    Start Microsoft Visual Studio .NET.
    On the File menu, point to New, and then click Project.
    In the New Project dialog box, click Visual C# Projects under Project Types, and then click ASP.NET Web Application under Templates.
    In the Location box, type the URL to create the project. For this example, type http://localhost/CSharpUpload, which creates the default project name of CSharpUpload. Notice that the WebForm1.aspx file loads in the Designer view of Visual Studio .NET.

Pakistan's Local Search engine
 
  Email this topic  |  Print
Pages: [1]   Go Up
 
Jump to:  



Powered by SMF 1.1.15 | SMF © 2011, Simple Machines


Google visited last this page January 21, 2012, 04:13:04 PM