title: How do I group items into subheadings in an ASP.NET gridview control?
body: <p>I'd like to take two tables and populate a gridview with the results:</p>
  
  <p>product
  category</p>
  
  <p>I'd like to have the gridview seperated into subheadings by category, rather than as a data field within the product gridview...</p>
  
  <p>Something like:</p>
  
  <p>(categories: food, clothing, shelter)</p>
  
  <pre><code>FOOD
  
   Rice 10s Available &lt;buy now&gt;
  
   Beans 20s Available &lt;buy now&gt;
  
   Chicken 50s Available &lt;buy now&gt;
  
  CLOTHING
  
   Cloak 30s Available &lt;buy now&gt;
  
   Helmet 45s Available &lt;buy now&gt;
  
   Sandals 10s Available &lt;buy now&gt;
  
  SHELTER
  
   Tent 100s Available &lt;buy now&gt;
  </code></pre>
  
  <p>Any help would be appreciated!</p>