2008年5月26日

.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 00 阅读(192) 评论(0) 推荐(0)

导航