1.判断是Url中是否传有“cityName”的参数

String[] Params = Request.Params.AllKeys;
if (Array.IndexOf(Params, "cityName") > -1)
{
        ......
}
else
{
      ......
}

 

相关文章:

  • 2021-06-10
  • 2022-12-23
  • 2022-12-23
  • 2021-08-14
  • 2022-12-23
  • 2021-06-28
  • 2021-10-31
  • 2021-09-06
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-10-15
  • 2021-10-28
  • 2021-10-31
  • 2022-01-02
  • 2022-12-23
相关资源
相似解决方案