2
Answers

Check uploaded file type?

Can I check uploaded file type? This is my code: if (file.ContentType=="application/vnd.ms-excel") But if I rename a txt file to .xls it not run :( Thankss

Answers (2)