public static string Call()
{
string ref1 = HttpContext.Current.Request.ServerVariables["HTTP_REFERER"];
Response.write(ref1);
}
public void Page_Load(object sender, EventArgs e)
{
Call()
}
CS0120:非静态字段、方法或属性“System.Web.UI.Page.Response.get”需要对象引用