$.ajax({
       type: "POST",                  
       url: "Query.aspx/Fantian",  
       data: "{'shen': '"+tt+"'}",                  
       dataType: "json",                
       contentType: "application/json; charset=utf-8",      
       success: function(data) {
              alert(data.d);    
       },      
      error: function(err) {      
               alert(err);      
        }      });    //前台用这样的方法提交可以传到后台指定的方法中 注意路径 Fantian 是后台的方法  [WebMethod]
        public static Student Fantian(string shen)
        {
         
            Student stu = new Student();
            stu.v_Class = "woshitiancai";
            return stu;
        }        //ASP.net 后台接收    $.post("Query.aspx/Fantian", { shen: tt }, function(data) {
                    alert(data);           });
   //用这种方式就不能传递到后台 指定的方法  只能传递到这个页的Page_load 中   总结了一下 发现唯一的区别好像是 $.ajax 比$.post 多了一个参数设定contentType: "application/json; charset=utf-8",   我也不是很确定 希望高手可以给我一个明确说法$.post 到底能不能指定后台方法 不能的话 什么原因