944,200 Members | Top Members by Rank

Ad:
0

FileUpload Control - Shalvin

by on Mar 12th, 2008
Uploading a file to a specific folder inside the virtual directory.
ASP.NET Code Snippet (Toggle Plain Text)
  1. FileUpload1.SaveAs(Server.MapPath("~/") + "Photos\\Shalvin\\" + FileUpload1.FileName);
  2. Response.Write("File uploaded successfully");
Message:
Previous Thread in ASP.NET Forum Timeline: DataTable Group By
Next Thread in ASP.NET Forum Timeline: built in login and createuser wizard but for a remote SQL database? how to change?





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC