Posts

Showing posts with the label file upload

How to use File Upload Control in ASP.Net

How to use FILE Upload Control in ASP.Net Page  ??? File Upload Control has given a great flexibility to Web Programmers by allowing to show the Disk Contents of Client Machine and also makes it available to be saved on Server, so that may be retrievece and used later on as and when required. We will be understanding the concepts of this control with the help of example explained below: On your Page, Draw a FILE UPLOAD Control with a name "FileUpload1" and a Button having the Text  "Upload"  When the "Upload" button is clicked, you need o write following code which is meant to upload  only  JPG format image file     dim str as String     if     FileUpload1.hasFile   Then                                                                       ...