title: ASMX not returning to JQuery hence the alert is not working
body: <p>I tried running the below mentioned code and it shows that the asmx file is returning System.Data.DataSet but the JQuery success function is not alerting.</p>
  
  <pre><code>function AuthenticateMember()
  {
      var UNam = $('#txtUsername').val();
      var pass = $('#txtPassword').val();
      var Parameter = "{\"Username\":\"" + UNam + "\", \"Password\":\"" + pass + "\"}";
      $.ajax({
          type: "Post",
          url: "HelpNow.asmx/AuthenticateMember",
          data: Parameter,
          contentType: "application/json; charset=utf-8",
          dataType: "Json",
          success: function (data)
          {
              var result = data.d;
              alert(result);
          },
          error: function (requeset, status, error)
          {
              alert(error);
          }
      });
  }
  
  [WebMethod]
      [ScriptMethod(ResponseFormat = ResponseFormat.Json)]
      public DataSet AuthenticateMember(string Username, string Password)
      {
          DataSet DataStatus;
  
          DataStatus = _objSM.getMember(Username, Password);
  
          return DataStatus;
      }
  </code></pre>
  
  <p><img src="https://i.stack.imgur.com/iyB0e.jpg" alt="in visual studio debugger"></p>