<asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="false" OnRowEditing="OnRowEditing"> <columns> <asp:BoundField DataField="Name" HeaderText="Name" ItemStyle-Width="150" /> <asp:BoundField DataField="Country" HeaderText="Country" ItemStyle-Width="150" /> <asp:templatefield> <itemtemplate> <asp:LinkButton ID="LinkButton1" Text="Edit" runat="server" CommandName="Edit" /> <edititemtemplate> <asp:LinkButton ID="LinkButton2" Text="Update" runat="server" OnClick="OnUpdate" /> <asp:LinkButton ID="LinkButton3" Text="Cancel" runat="server" OnClick="OnCancel" />
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)