/// <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,字符串操作类
猜你喜欢
转载自www.cnblogs.com/-hao/p/9342955.html
今日推荐
周排行