获得URL参数
2014-06-24 16:17:35 访问(2052) 赞(0) 踩(0)
///
/// 获得URL参数
///
///
///
public static string GetParameter(string sParam)
{
string theValue = HttpContext.Current.Request.QueryString[sParam];
if (theValue == null || theValue.Length == 0)
return "";
theValue = HttpContext.Current.Server.UrlDecode(theValue);
return theValue.Trim();
}
上一条:
下一条:
相关评论
发表评论