Author: born2win | Posted on: 6/17/2008 3:01:22 AM | Views : 536

hi, i have  upload contol  in my  form and i need to  upload only the  doc.  becos if  some mp3 file renamed as .doc extn the i should not allow to upload it in  my database(sqlserver)

 

 i need t ocheck that two issue:

1. only doc files be uploaded not any renamed file as doc.

2.i need to check the doc if it is password protected if it is password protected then it should not be uploaded. so kinfly please show me some example code to achieve this need please 

 
...

Go to the complete details ...