码迷,mamicode.com
首页 > Windows程序 > 详细

C# StringHelper,字符串操作类

时间:2018-07-20 18:54:37      阅读:171      评论:0      收藏:0      [点我收藏+]

标签:ati   串操作   ack   request   tpc   style   字符串操作   get   context   

/// <summary>
/// 返回上一个页面的地址
/// </summary>
/// <returns>上一个页面的地址</returns>
public static string GetUrlReferrer()
{
string retVal = null;

try
{
retVal = HttpContext.Current.Request.UrlReferrer.ToString();
}
catch{}

if (retVal == null)
return "";

return retVal;
}

C# StringHelper,字符串操作类

标签:ati   串操作   ack   request   tpc   style   字符串操作   get   context   

原文地址:https://www.cnblogs.com/-hao/p/9342955.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!