.net截取文件类型的方法
摘要:string fileExtension=System.Io.path.getExtension(str.tolower); string[] allowedExtension={".gif,".png","bmp",".jpg""}; for(int i=0;i<allowedExtension.length;i++) { if(fileExtension==allowedExtension) ...
阅读全文
posted @ 2008-05-26 12:54
浙公网安备 33010602011771号