public string GetRelativeLevel()
  {
   string[] strArray = HttpContext.Current.Request.Path.Split(new char[]{'/'});
   StringBuilder builder = new StringBuilder(30);
   for(int i=0;i<strArray.Length-3;i++)
   {
    builder.Append("../");
   }
   return builder.ToString();
  }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-06
  • 2021-11-20
  • 2022-12-23
  • 2021-11-30
  • 2022-12-23
猜你喜欢
  • 2021-12-22
  • 2021-11-27
  • 2022-12-23
  • 2021-12-23
  • 2021-12-26
相关资源
相似解决方案