[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1217
  • Last Modified:

how to upload files using vb.net

how to upload files using vb.net?


Thanks
0
RajeshPixel
Asked:
RajeshPixel
  • 2
3 Solutions
 
JPJ78Commented:
Use the control FileUpload.

<asp:FileUpload ID="FileUpload1" runat="server" />
<asp:Button ID="btnUpload" runat="server" Text="Upload" />

Private Sub btnUpload_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles btnUpload.Click
    FileUpload1.SaveAs("filename.zip")
End Sub
0
 
DhaestCommented:
Using Visual Basic .NET to Upload a File to a Web Server in ASP.NET
http://www.codeguru.com/csharp/.net/net_asp/files/article.php/c5335

How to upload a file to a Web server in ASP.NET by using Visual Basic .NET
http://support.microsoft.com/kb/323245
0
 
DhaestCommented:
ASP.NET 2.0 FileUpload Server Control
http://www.codeguru.com/csharp/sample_chapter/article.php/c12593

Performing a File Upload using ASP.NET 2.0 and VB .NET
http://www.aspnettutorials.com/tutorials/network/net-fileupload-aspnet2-vb.aspx

CodeSnip: Working with FileUpload Control
http://aspalliance.com/761

0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now