title: Hiding a Particular set of cells in Gridview after comparing it with another cell - To give a Nested Look
body: <p>I have a following GridView</p>
  
  <pre><code>Day         Duty Office      Duty Officer
  
  27/10/2013  Press                A
  27/10/2013  Head Q               B
  27/10/2013  Help Desk            D
  28/10/2013  Press                A1
  28/10/2013  Head Q               A2
  28/10/2013  Medical              A3
  28/10/2013  Help Desk            A4
  29/10/2013  Press                B1
  29/10/2013  Head Q               B2
  29/10/2013  Medical              B3
  29/10/2013  Help Desk            B4 
  </code></pre>
  
  <p>Now if subsequent dates are same in Day column then I have to hide the subsequent dates , to be precise I got to show the columns in below manner.</p>
  
  <pre><code>Day         Duty Office      Duty Officer
  
  27/10/2013  Press                A
              Head Q               B
              Help Desk            D
  28/10/2013  Press                A1
              Head Q               A2
              Medical              A3
              Help Desk            A4
  29/10/2013  Press                B1
              Head Q               B2
              Medical              B3
              Help Desk            B4
  </code></pre>
  
  <p>I wanted to try with something like this </p>
  
  <pre><code> if (GridView1.Columns[0].Cells[i].Value.Equals(GridView1.Columns[0].Cells[i + 1].Value))
          {
  
              GridView1.Columns[0].Cells[i + 1].Value = "";
          }
  </code></pre>
  
  <p>but it is not working, Can anybody please help me with this. </p>