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

  • SEARCH
  • Home
  • 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 7790391
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T21:34:19+00:00 2026-06-01T21:34:19+00:00

I have this table I created manually, and I want to use a gridview

  • 0

I have this table I created manually, and I want to use a gridview to generate data instead of using a table, the table has round corners in all four corners.

<table border="0"  id="rounded-corner">
<thead>
<tr>

<th scope="col" class="rounded-company">#</th>
<th>RegNum</th>
<th class="rounded-q4">Actions</th>
</tr>
</thead>
<tfoot>
<tr>
<td class="rounded-foot-left">Summary</td>
<td>10</td>
<td  class="rounded-foot-right">some text</td>
</tr>
</tfoot>

Is it possible to use a gridview and still get the table look I wanted?

EDIT

This is the CSS for the table:

/* table */
#rounded-corner
{
    font-family: "Lucida Sans Unicode", "Lucida Grande", Sans-Serif;
    font-size: 12px;    margin: 10px;   width: 571px;
    text-align: left;   border-collapse: collapse;
}
#rounded-corner thead th.rounded-company
{
    background: #b9c9fe url('images/left.png') left -1px no-repeat;
}
#rounded-corner thead th.rounded-q4
{
    background: #b9c9fe url('images/right.png') right -1px no-repeat;
}
#rounded-corner th
{
    padding: 8px;   font-weight: normal;
    font-size: 13px;    color: #039;
    background: #b9c9fe;
}
#rounded-corner td
{
    padding: 8px;   background: #e8edff;
    border-top: 1px solid #fff;     color: #669;
}
#rounded-corner tfoot td.rounded-foot-left
{
    background: #e8edff url('images/botleft.png') left bottom no-repeat;
}
#rounded-corner tfoot td.rounded-foot-right
{
    background: #e8edff url('images/botright.png') right bottom no-repeat;
}
#rounded-corner tbody tr:hover td 
{
    background: #d0dafd;
}
  • 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-06-01T21:34:21+00:00Added an answer on June 1, 2026 at 9:34 pm

    Use repeater

    <table border="0"  id="rounded-corner">
    <thead>
    <tr>
    <th scope="col" class="rounded-company">#</th>
    <th>RegNum</th>
    <th class="rounded-q4">Actions</th>
    </tr>
    </thead>
    
    <tbody>
        <asp:Repeater runat="server" id="rpt_table1">
        <ItemTemplate>
        <tr>
            <td><%# Eval("foo1")%></td>
            <td><%# Eval("foo2")%></td>
            <td><%# Eval("foo3")%></td>
            <td><asp:Button CommandArgument='<%# Eval("id") %>' OnCommand="btnedit_command" ID="btnedit" Text="Edit" /></td>
        </tr>
        </ItemTemplate>
        </asp:Repeater>
    </tbody>
    
    <tfoot>
    <tr>
    <td class="rounded-foot-left">Summary</td>
    <td>10</td>
    <td  class="rounded-foot-right">some text</td>
    </tr>
    </tfoot>
    
    </table>
    

    on code behind .cs

        protected void btnedit_command(object sender, CommandEventArgs e)
        {
            // this is command argument value (ID) --> e.CommandArgument
        }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a table created like this: CREATE TABLE rh857_omf.picture(MeasNr TINYINT UNSIGNED, ExperimentNr TINYINT
I have a table that's created like this: CREATE TABLE bin_test (id INTEGER PRIMARY
I have this in a MySQL db: table Message sender_id int recipient_id int created
I have created a table on an Oracle 10g database with this structure :
I have created an index on my table like this: CREATE INDEX index_typ_poplatky ON
So I have this SQL table that I need to update. Now we use
I'm using Core Data for a table view, and I'd like to use the
I want to manually create a table in asp.net to display data from a
I have created a table umriss which I filled with data and I still
I have an OLTP database. For this database, I want to use SQL 2008

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.