t foot and thead in gridview

        private void MakeAccessible(GridView grid)
            if (grid.Rows.Count > 0)
                //This replaces <td> with <th> and adds the scope attribute
                grid.UseAccessibleHeader = true;
                //This will add the <thead> and <tbody> elements
                grid.HeaderRow.TableSection = TableRowSection.TableHeader;
                //This adds the <tfoot> element. Remove if you don't have a footer row
                grid.FooterRow.TableSection = TableRowSection.TableFooter;
programming/net/tfoottheadingridview.txt · Last modified: 2018-06-21 19:48 (external edit)
CC Attribution-Noncommercial-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0