title: How to build the CRUD with Ajax json format between jQuery Bootgrid and C# (instead of JqGrid to deal with this issue)
body: <p>Hi all I have been looking for a lot of relative resource to deal with my problem, however it isn't useful to me, even if I have checked the <a href="http://www.jquery-bootgrid.com/Examples" rel="nofollow noreferrer">"jQuery Bootgrid"</a> and many websites , I still didn't find any great example out, hopefully someone who really know it can help me to give me any slim clues or any good simple.<br>
  By the way,<br>
  1. I wish I can use Ajax to update and see any modifies data between Browser and DB<br>
  2. Plesae give me example code<br>
  Thanks    </p>
  
  <p>Some problems issue<br>
  1.Ajax Connection<br>
  Front end    </p>
  
  <pre><code>   &lt;table id="grid-data" class="table table-condensed table-hover table-striped"&gt;
      &lt;thead&gt;
          &lt;tr&gt;
              &lt;th data-column-id="id" data-type="numeric"&gt;ID&lt;/th&gt;
              &lt;th data-column-id="sender" data-css-class="sender"&gt;Sender&lt;/th&gt;
              &lt;th data-column-id="received" data-order="desc"&gt;Received&lt;/th&gt;
          &lt;/tr&gt;
      &lt;/thead&gt;
  &lt;/table&gt;
  
      &lt;script&gt;
      var grid = $("#grid-data").bootgrid({
          ajax: true,
          url: "WebForm3.aspx/x" // link to your web api
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>Back End </p>
  
  <pre><code>  public partial class WebForm3 : System.Web.UI.Page
      {
          [WebMethod]
  
          public static string x()
          {
              return "";
          }
      }
  </code></pre>
  
  <p>Messages </p>
  
  <pre><code>Uncaught SyntaxError: Unexpected token &lt; in JSON at position 6
      at JSON.parse (&lt;anonymous&gt;)
      at Function.n.parseJSON (jquery-2.1.1.min.js:4)
      at Object.success (jquery.bootgrid.min.js:6)
      at j (jquery-2.1.1.min.js:2)
      at Object.fireWith [as resolveWith] (jquery-2.1.1.min.js:2)
      at x (jquery-2.1.1.min.js:4)
      at XMLHttpRequest.&lt;anonymous&gt; (jquery-2.1.1.min.js:4)
  </code></pre>