2016-02-28 47 views

回答

0
string ext = System.IO.Path.GetExtension(this.File1.PostedFile.FileName); 

文件1是你的FileUpload控制。希望這可以幫助你!

相關問題