How to delete a GridView Row
<p>I have this code until now:</p>

<pre><code>&lt;asp:TemplateField ShowHeader="False" ItemStyle-Width="150px" HeaderStyle-BackColor="#003ca1" HeaderStyle-ForeColor="white"&gt;
    &lt;ItemTemplate&gt;
        &lt;asp:LinkButton ID="linkDelete" runat="server" CausesValidation="False" CommandName="Delete" OnClientClick='return confirm("Diesen Eintrag wirklich löschen?");' Text="Löschen" /&gt;
    &lt;/ItemTemplate&gt;
&lt;/asp:TemplateField&gt;
</code></pre>

<p>At this moment, the GridView deletes the row physically.
I want to catch this in CodeBehind, cancel the delete-operation and want only set a "IsDeleted"-Flag in the database.</p>

<p>How?</p>
