Click here to Skip to main content
15,891,837 members
Articles / Web Development / ASP.NET

What is the code for FileUpload of pptx files

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
25 Sep 2012CPOL 0  
Use fileuploader(asp.net) to upload a file below is the code to validate only .pptx fileif (FileUpload1.HasFile) { string strFileExtension = Path.GetExtension(FileUpload1.PostedFile.FileName); if (strFileExtension != null) { ...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
13 Sep 2012Member 9324114 1 alternative  
Hi friends,I am kind of a newbie in the ASP.NET. I need help as to what is the code for FileUpload that only accepts a pptx file, and when uploaded, the file will be displayed in the GridView.. Thanks so much!

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Architect
India India
Ajit Singh is Technical Architect in a reputed IT Company. He is also Author of Tech Impulsion Blog.He is personally a technology analyst, developer and Innovator.

Comments and Discussions