title: using arraylist that pass to jquery ajax
body: <p>hi i have a web method that bring data of database and pass it to a jquery ajax function but  i dont know its possible to pass arraylist to jquery and jquery able to recognize it or no and if answer is ok  <strong>how i can use of array list in jquery ajax</strong> .
  its my code behind</p>
  
  <pre><code>  [WebMethod]
      public ArrayList bringdata()
      {
          SqlConnection con = new SqlConnection("data source=.;database=site;integrated security=true;");
          int cnt;
          string sSQL = "Select username ,average,weight,point , Rank() over(order by point desc) as 'ranking' from karbar order by point desc";
          SqlCommand cmd = new SqlCommand(sSQL, con);
  
          SqlDataAdapter adapt = new SqlDataAdapter(cmd);
          DataSet ds = new DataSet();
          adapt.Fill(ds);
          ArrayList arrlst = new ArrayList();
          foreach (DataRow row in ds.Tables[0].Rows)
          {
              arrlst.Add(row);
          }
          return arrlst;
  
  
      }
  </code></pre>
  
  <p>please help me in jquery code for using arraylist.
  thank a lot</p>