3
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'Request.ServerVariables在功能