-1
A
回答
0
string ext = System.IO.Path.GetExtension(this.File1.PostedFile.FileName);
文件1是你的FileUpload控制。希望這可以幫助你!
相關問題
- 1. 如何獲取上傳文件的文件擴展名
- 2. PHP:如何獲取Codeigniter中上傳文件的文件名和擴展名?
- 3. 在上傳器中獲取擴展名
- 4. 上傳文件並在Symfony2中移動後獲取文件擴展名
- 5. 如何從PHP中的文件上傳中提取擴展名?
- 6. 獲取文件上傳名稱和擴展名在JS
- 7. 在上傳過程中獲取文件擴展名php
- 8. 如何從沒有擴展名的文件名獲取文件擴展名?
- 9. 如何在MySQL中獲取文件名的擴展名?
- 10. 獲取文件名沒有文件擴展名在我的PHP代碼
- 11. 使用apache通用文件上傳獲取jsp上傳文件的擴展名
- 12. 如何獲取Google文檔中文件的文件擴展名?
- 13. Android - 如何獲取文件擴展名?
- 14. Angularjs如何獲取文件擴展名?
- 15. 獲取文件擴展名
- 16. 在java中獲取文件擴展名
- 17. 如何在java中找到上傳文件的擴展名?
- 18. Yii:在上傳時獲取文件擴展名
- 19. 獲取除擴展名外沒有擴展名的文件名
- 20. 如何在windows中獲取文件的擴展名
- 21. 如何在Jquery中獲取文件的擴展名?
- 22. 如何在Django中獲取文件的擴展名?
- 23. 如何在shell腳本中獲取文件的擴展名
- 24. 獲取文件的擴展名,但無法獲取文件名
- 25. 獲取頁面源代碼擴展
- 26. 驗證上傳的文件擴展名
- 27. PHP上傳的文件擴展名爲
- 28. 在Haskell中,如何獲取沒有文件擴展名的文件名?
- 29. 如何用舊代碼讀取擴展名.proto文件(textformat.merge)?
- 30. 如何獲得文件的擴展名