<asp:GridView ID="gdGroups" runat="server" AutoGenerateColumns ="false" onrowdeleting="gdGroups_RowDeleting" onrowdatabound="gdGroups_RowDataBound" onrowediting="gdGroups_RowEditing" onrowupdating="gdGroups_RowUpdating" onpageindexchanging="gdGroups_PageIndexChanging" > <columns> <asp:BoundField DataField="sno" Visible ="false" /> <asp:BoundField DataField="gname" HeaderText="Group Name" /> <asp:BoundField DataField="status" HeaderText="Status" /> <asp:BoundField DataField="gdt" DataFormatString="{0:dd-MMM-yyyy}" HeaderText="Create Date" /> <asp:TemplateField HeaderText="Edit/Update"> <edititemtemplate> <asp:ImageButton ID="Image2" runat="server" ImageUrl="~/Images/icon-floppy.gif" CommandName="edit" /> </edititemtemplate> <itemtemplate> <asp:ImageButton ID="Image1" runat="server" ImageUrl="~/Images/icon-pencil.gif" CommandName="update" /> </itemtemplate> <asp:TemplateField HeaderText="Delete"> <itemtemplate> <asp:ImageButton ID="Image3" runat="server" ImageUrl="~/Images/icon-delete.gif" CommandName="delete" /> </itemtemplate> </columns>
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)