2016-02-28 51 views

回答

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

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

相关问题