<asp:GridView ID="GridView1" runat="server" CellPadding="4" DataKeyNames="Nric" OnRowCancelingEdit="canceledit"
ForeColor="#333333" OnRowUpdating="UpdateCustomer" AutoGenerateColumns="False"
OnRowEditing="editEmployee" OnRowCommand="GridView1_RowCommand">
<RowStyle BackColor="#EFF3FB" />
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333" />
<HeaderStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
<EditRowStyle BackColor="#2461BF" />
<AlternatingRowStyle BackColor="White" />
<Columns>
<asp:CommandField ShowEditButton="true" />
<asp:TemplateField HeaderText="ID" Visible="false">
<ItemTemplate>
<asp:Label ID="Label4" runat="server" Text='<%# Bind("ID") %>'></asp:Label>
</ItemTemplate>
</asp:TemplateField>
<asp:TemplateField HeaderText="File Name">
<asp:Label ID="Label1" runat="server" Text='<%# Bind("FilesName") %>'></asp:Label>
<asp:TemplateField HeaderText="Nric">
<asp:Label ID="Label2" runat="server" Text='<%# Bind("Nric") %>'></asp:Label>
<asp:TemplateField HeaderText="Description">
<EditItemTemplate>
<asp:TextBox ID="TextBox3" runat="server" Text='<%# Bind("Description") %>'></asp:TextBox>
</EditItemTemplate>
<asp:Label ID="Label3" runat="server" Text='<%# Bind("Description") %>'></asp:Label>
<asp:TemplateField ItemStyle-HorizontalAlign="Center">
<asp:LinkButton ID="lnkDownload" runat="server" Text="Download" OnClick="DownloadFile"
CommandArgument='<%# Eval("ID") %>'></asp:LinkButton>
<ItemStyle HorizontalAlign="Center"></ItemStyle>
<asp:TemplateField>
<asp:LinkButton ID="lnkRemove" runat="server" CommandArgument='<%# Eval("ID")%>'
OnClientClick="return confirm('Do you want to delete?')" Text="Delete" ForeColor="Red"
OnClick="DeleteEmployee"></asp:LinkButton>
<%--<asp:CommandField ShowDeleteButton="true" />--%>
</Columns>
</asp:GridView>