2
Answers

Check uploaded file type?

Photo of alainc

alainc

20y
4.9k
1
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)