title: Hide Gridview Row when Button clicked
body: <p>When the page loads there is a gridview on the screen with an asp button below it.  What I want to do is when the user clicks the button it hides a row on the gridview.  I don't want the data deleted out of the datasource I simply want to hide it from the user. Any idea how to do this in C#</p>
  
  <pre><code>&lt;asp:Button ID="btnReceive" runat="server" Height="156px" Text="Receive" 
          Width="131px" onclick="btnReceive_Click" /&gt;
  
  
  
      &lt;asp:GridView ID="GridView1" runat="server"&gt;
          &lt;Columns&gt;
              &lt;asp:BoundField DataField = "Aitem" HeaderText="A" /&gt;
              &lt;asp:BoundField DataField = "Bitem" HeaderText="B" /&gt;
          &lt;/Columns&gt;
      &lt;/asp:GridView&gt;
  </code></pre>