How to check file
extension in file upload using regular expression control asp.net...
How to check file extension in file upload using asp.net regular expression There are 2 ways to check file extension 1.Server side 2.Client side Server side ------------- Languages: C#, VB etc... advantages: easy to implement, no need to know java script dis advantages: checks file extension after the file has been uploaded to the server. Client side ------------ Languages: Java Script advantages: checks the extension in the user's computer itself because java script runs in the browser. dis advantages: hard to implement, spend a lot of time searching for the code on the internet. We will focus on Client side validation because we dont want the user to wait for the file to upload and th… More
Recently watched videos