求大神帮忙,if语句无效
神白菜 2013-01-14 09:19:25 if (fileName.Substring(fileName.IndexOf("."), fileName.Length - fileName.IndexOf(".")) != ".jpg" || fileName.Substring(fileName.IndexOf("."), fileName.Length - fileName.IndexOf(".")) != ".gif")
这个是ASP.NET后台的判断语句,这个好像没有用