I have a gridview with a column containing an asplink button which will delete the record in that row. I could not figure out how to do it in the code behind so here is what it looks like in the page code:
<asp:LinkButton ID="LinkButton1" runat="server" CausesValidation="False"
CommandName="Delete" Text="Delete" OnClientClick="return confirm('Are you sure you want to delete this Employee?');"></asp:LinkButton>
I would like to add some more detail (a column or two in the gridview) to the message such as the employee first and last name.