27 February 2014

Delete Record With Confirmation Message In Grid View

<Column>
<asp:TemplateField> 
<ItemTemplate> 
<asp:Button ID="btnDel" runat="server" Text="Delete CommandName="Delete" OnClientClick="return confirm('Are you sure you want to delete?');" /> </ItemTemplate>
</asp:TemplateField>
</Column>

No comments:

Post a Comment