asp.net获取当前页面的文件名 string url = Request.FilePath.ToString();string file = url.Substring(url.LastIndexOf("/") + 1);