/// <summary>
/// 獲取querystring
/// </summary>
/// <param name="s">參數名</param>
/// <returns>返回值</returns>
public string q(string s)
{
if (Request.QueryString[s] != null)
{
return Request.QueryString[s].ToString();
}
return string.Empty;
}
/// <summary>
/// 獲取post得到的參數
/// </summary>
/// <param name="s">參數名</param>
/// <returns>返回值</returns>
protected string f(string s)
{
if (Request.Form[s] == null) return string.Empty;
return Request.Form[s];
}