protected void GridView2_RowEditing(object sender, GridViewEditEventArgs e) { // // // What will be the code ????? }
<asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" AutoGenerateDeleteButton="True" onrowdeleting="GridView2_RowDeleting" DataKeyNames="Sr_No" onrowediting="GridView2_RowEditing" AutoGenerateSelectButton="True" onselectedindexchanged="GridView2_SelectedIndexChanged" > <Columns> <asp:BoundField HeaderText="City" DataField="City" > <HeaderStyle ForeColor="CadetBlue" /> <ItemStyle ForeColor="Indigo" /> </asp:BoundField> <asp:BoundField HeaderText="Phone" DataField="phone" > <HeaderStyle ForeColor="CadetBlue" /> <ItemStyle ForeColor="Indigo" /> </asp:BoundField> <asp:CommandField ShowEditButton="True" /> </Columns> </asp:GridView>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)