mahajanh Posted May 6, 2005 Posted May 6, 2005 Hi All, Objective : To upload an mdb file to I am developing an application that has both asp & aspx pages. asp has file upload control. User selects file on asp page, clicks Submit button on asp page and user is redirected to aspx page. Now i want to save the Mdb on the webserver. How the aspx will do this. Quote
Mister E Posted May 6, 2005 Posted May 6, 2005 Uploading files in ASP.NET is vastly easier than traditional ASP. Just make sure you have the following string in your form tag:enctype="multipart/form-data" If you had a file control named "myUploader" on your web form you could access its uploaded file contents with something like:HttpPostedFile myFile = myUploader.PostedFile; Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.