<asp:GridView ID="grdUploadedFiles" runat="server" AutoGenerateColumns="False" AllowPaging="True" PageSize="7" DataKeyNames="ID" OnRowEditing="grdUploadedFiles_RowEditing" OnRowUpdating="grdUploadedFiles_RowUpdating" OnRowCancelingEdit="grdUploadedFiles_RowCancelingEdit" OnRowDeleting="grdUploadedFiles_RowDeleting" ShowFooter="True" ForeColor="Black" GridLines="Vertical" Width="439px" BackColor="White" BorderColor="#999999" BorderStyle="Solid" Font-Size="Small" Font-Names="Arial" CellPadding="3" BorderWidth="1px"> <Columns> <asp:TemplateField HeaderText="Type" HeaderStyle-HorizontalAlign="Center" > <ItemTemplate> <asp:Label ID="lblType" runat="server" Text='<%# Bind("FileType") %>'></asp:Label> </ItemTemplate> <asp:CommandField ShowEditButton="True"> <ItemStyle/> </asp:CommandField></column></gridview>
I am using the code above for my gridview.and I want to give an addition to my 1st column. I also want to give a link to the edit and delete link in my gridview. To do this, if I give textuderline = 'true' when editing it, it displays βUpdate Deleteβ as one underline that looks ugly. Is there another way?
source share