First of all, you have not defined the event in Markup.
Refer -
GridView.RowDeleting Event[
^]. See how it is defined in the example.
<asp:GridView ID="CustomersGridView" runat="server"
DataSourceID="CustomersSqlDataSource"
AutoGenerateColumns="False"
AutoGenerateDeleteButton="True"
OnRowDeleting="CustomersGridView_RowDeleting"
DataKeyNames="CustomerID,AddressID">
And here it automatically shows Delete button, as a result of that, the event gets fired automatically when you click on that.
But if you want to use LinkButton, then you need to implement differently either with