Request.QueryString如果接到空值,则返空字符方法
public static string Q(string name)
{
if (GetCurrentRequest().QueryString[name] == null)
return string.Empty;
else
return GetCurrentRequest().QueryString[name].ToString();
}
{
if (GetCurrentRequest().QueryString[name] == null)
return string.Empty;
else
return GetCurrentRequest().QueryString[name].ToString();
}