//判断是否ajax请求
bool isAjax = Request.IsAjaxRequest();
if (isAjax == false) {
//获取是请求的method值
String method = Request.HttpMethod.ToUpper();
if (method == "POST") {
//这里是post请求
}
else if (method == "GET") {
//这里是get请求
}
}
asp.net 全是get方式提交. 除非特殊处理. 比如ajax 的post提交等.