Showing posts from January, 2013

Gridview row edit, delete and update code in

As Gridview is a data source control which binds data from backend sql server or any other database table. Here is the code which implements edit, delete and update functionality in a single Gridview. Gridview Edit,Update and Delete functionality code: ASPX Code: <asp:GridView ID="gvDetails" DataKeyNames="id" runat="server" AutoGenerateColumns="false"                     CssClass="Gridview" HeaderStyle-BackColor="Blue" Width="90%" ShowFooter="true"                     HeaderStyle-Font-Bold="true" HeaderStyle-ForeColor="White" OnRowCancelingEdit="gvDetails_RowCancelingEdit"                     OnRowDeleting="gvDetails_RowDeleting" OnRowEditing="gvDetails_RowEditing" OnRowUpdating="gvDetails_RowUpdating"                     OnRowCommand="gvDetails_RowCommand">                     <Columns>                         &l