Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3287334
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T20:28:53+00:00 2026-05-17T20:28:53+00:00

How to create thead and tbody in ASP.NET Table? I need those tags because

  • 0

How to create thead and tbody in ASP.NET Table? I need those tags because of jquery and asp.net gives me only tr, th and td.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-17T20:28:54+00:00Added an answer on May 17, 2026 at 8:28 pm

    asp:Table does not support these elements.

    Update: As jameh’s answer reveals, the sentence above is completely wrong: the TableSection property allows to control
    whether a given row goes into the table’s header, body or footer.

    To elaborate on his answer, it seems you can even achieve this declaratively by setting the TableSection property in your markup, without code behind:

    <asp:Table id="yourId" runat="server">
        <asp:TableHeaderRow TableSection="TableHeader">
            <!-- ... -->
        </asp:TableHeaderRow>
        <asp:TableRow>
            <!-- 'TableSection' defaults to 'TableRowSection.TableBody'. -->
            <!-- ... -->
        </asp:TableRow>
        <asp:TableRow TableSection="TableFooter">
            <!-- ... -->
        </asp:TableRow>
    </asp:Table>
    

    Original, now moot answer follows:

    You might want to try the HtmlTable class instead:

    <table id="yourId" runat="server">
        <thead>
            .
            .
            .
        </thead>
        <tbody>
            .
            .
            .
        </tbody>
    </table>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can anyone tell me how to dynamically create thead tbody tags in my c#
I'm working with c# ASP .Net, HtmlTable, HtmlTableRow, HtmlTableCell to create a table. for
I've create a table where I've saved images through BLOB. I need to show
I need to create async thread that runs once with a delay of 2
I want to create a table where each row has an expandable details row.
So I am using this jquery plugin to create a nice pie chart on
I create a table using PHP from a database, meaning the size of the
I have view that contains a table with the following structure: <table id=mappings> <thead>
I have a table, that looks like this: <table class=sortabletable> <thead> <tr> <th style=width:
Helo everyone I've create simple page with table and would like populate it with

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.