title: Display json data in gridview in .net
body: <p>I have been created simple shopify app to retrieve product details.</p>
  
  <p>When i access code from gihub.</p>
  
  <p>It run successfully and display product details in text box.</p>
  
  <p>I need to simple change to show the product details in grid view.</p>
  
  <p>Here is dafault.aspx:</p>
  
  <p>existing code;</p>
  
  <p>default.aspx:</p>
  
  <pre><code>    &lt;%@ Page Language="C#" AutoEventWireup="true" codefile="Default.aspx.cs" Inherits="SampleWebApplication._Default" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head id="Head1" runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div&gt;
      &lt;asp:TextBox ID="APIOutput" TextMode="MultiLine" runat="server"&gt;&lt;/asp:TextBox&gt;
  
      &lt;/div&gt;
  
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Here is my output screenshot <a href="http://s22.postimg.org/xj9zacxa9/untitled.jpg" rel="nofollow">http://s22.postimg.org/xj9zacxa9/untitled.jpg</a></p>
  
  <p>I need to display product details in gridview,</p>
  
  <p>default.cs:</p>
  
  <pre><code>using System;
  using System.Collections.Generic;
  using System.Web;
  using System.Web.UI;
  using System.Web.UI.WebControls;
  using ShopifyAPIAdapterLibrary;
  using System.Configuration;
  using System.Web.Services;
  
  namespace SampleWebApplication
  {
      public partial class _Default : System.Web.UI.Page
      {
          protected void Page_Load(object sender, EventArgs e)
          {
              ShopifyAuthorizationState state = HttpContext.Current.Session["Shopify.AuthState"] as ShopifyAuthorizationState;
              ShopifyAPIClient client
                  = new ShopifyAPIClient(state);
              APIOutput.Text = (string)client.Get("/admin/products.json");
          }
      }
  }
  </code></pre>
  
  <p>but I just confused with codefile, Can anyone help me get the product details in gridview?</p>
  
  <p>Any help would be highly appreciated.</p>
  
  <p>Thanks in advance.</p>