title: Passing multiple data parameters from $.ajax to webmethod
body: <p>I am trying to pass some data parameters from ajax call for webmethod. but it doesn't pass them to the webmethod. following is the code</p>
  
  <pre><code>function databind(query,tbl,para,spname,cmdtype){
      $.ajax({
              type: "POST",
              url: "editviewposition.aspx/threeDTable",
              data: "{query':'"+query+"','tbl':'"+tbl+"','para':'"+para+"','spname':'"+spname+"','cmdtype':'"+cmdtype+"'}",  // here is the problem
              contentType: "application/json; charset=utf-8",
              dataType: "json",
              success: OnSuccess,
              failure: function (response) {
                  alert(response);
              },
              error: function (response) {
                  alert(response);
              }
          });
       }
  </code></pre>
  
  <p>webmethod</p>
  
  <pre><code> &lt;WebMethod()&gt; _
      &lt;ScriptMethod()&gt; _
      Public Shared Function threeDTable(ByVal query As String, ByVal tbl As String, ByVal para() As Object, ByVal spname As String, ByVal cmdtype As String) As Object()()()
          'code
      End Function
  </code></pre>