2
Answers

Check uploaded file type?

Ask a question
alainc

alainc

19y
4.5k
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)