How to restrict upload file type in

1 replies
I have a code of uploading file in the using c#. I want to know how cna i restrict it for just uploading jpg files?

I am using c# with
#aspnet #file #restrict #type #upload
  • Profile picture of the author skillboyz
    You can check file type using


    you can use file type to compare with jpg and then write upload code

    {{ DiscussionBoard.errors[8280377].message }}

Trending Topics