Asp.net Method

Print

Response.Write("Hello World");

POST

Response.Write(Request["name"]);

GET

Response.Write(Request.QueryString["name"]); 

GET – Print all data

for (int idx = 0; idx < Request.QueryString.Count; idx++){  
    Response.Write("Value:" + Request.QueryString[idx]);  
}

Post- Print all data

foreach(string name in Request.Form){
    Response.Write(Request.Form[name]);
}

Include Asp.net

<!--#include file="header.aspx"-->

Include txt

Response.WriteFile("header.aspx");

Redirect

Response.Redirect("index.aspx?message");

發表迴響