Hi,
I am using the "FileUpload" control in my aspx page and C# 3.5.
I want the users to upload only excel file. I have checked for file extension.
But if the user changes an exe file or other formats, and renames it to xls and upload it, I want to restrict that.
How to achieve this programmatically?
Thanks
Go to the complete details ...