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 1113501
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 17, 20262026-05-17T02:52:07+00:00 2026-05-17T02:52:07+00:00

So today I started learning ASP.NET. Unfortunately I haven’t found any good tutorials online,

  • 0

So today I started learning ASP.NET. Unfortunately I haven’t found any good tutorials online, and I can’t afford to buy books at the moment, so I’ve had to create a ASP.NET web application in Visual Studio 2010 and just play around with the default project setup.

So far here’s what I have in my Default.aspx:

<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="WebApplication1._Default" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Project Management</title>
</head>
<body>
    <div style="padding-bottom:10px;"> Project Management System</div>
    <div> <table style="width:100%;">
            <tr>
                <td>Name</td>
                <td>Task</td>
                <td>Hours</td>
            </tr>
    </table></div>
</body>
</html>

I created a simple table with the header row already in there. Through a C# script, I want to be able to dynamically add rows to this HTML table. Is this the right way of thinking in ASP.NET? If so, how can I do this? I’m sure I’ll need an "Add" button, which adds a new row to the table, with editable fields, and a "submit" button which adds some stuff to a database.

Basically just a rundown of how this is done would be ever so helpful.

  • 1 1 Answer
  • 4 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-17T02:52:08+00:00Added an answer on May 17, 2026 at 2:52 am

    Have you attempted the Asp:Table?

    <asp:Table ID="myTable" runat="server" Width="100%"> 
        <asp:TableRow>
            <asp:TableCell>Name</asp:TableCell>
            <asp:TableCell>Task</asp:TableCell>
            <asp:TableCell>Hours</asp:TableCell>
        </asp:TableRow>
    </asp:Table>  
    

    You can then add rows as you need to in the script by creating them and adding them to myTable.Rows

    TableRow row = new TableRow();
    TableCell cell1 = new TableCell();
    cell1.Text = "blah blah blah";
    row.Cells.Add(cell1);
    myTable.Rows.Add(row);
    

    Given your question description though, I’d say you’d be better off using a GridView or Repeater as mentioned by @Kirk Woll.

    EDIT – Also, if you want to learn without buying books here are a few sites you absolutely need to become familiar with:

    Scott Guthrie’s Blog
    4 Guys from Rolla
    MSDN
    Code Project Asp.Net

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just started learning ASP.NET MVC4 today. After reading tutorials, downloading VS 2012, and
I started learning today 3D drawing, following this tut: http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series1/The_first_triangle.php There is the file
I just started learning MVC3 today, so please forgive any stupidity (particularly a poorly
I worked on MYSQL with ASP.NET. Just today started to try SQL commands in
I am new with wordpress. I have started learning wordpress from today. I went
I started learning vim today and installed it using sudo apt-get install vim Now,
So I started learning C today, and as an exercise I was told to
I recently started learning 0MQ . Earlier today, I ran into a blog, Python
I've just started learning Python today. I've been reading a Byte of Python. Right
Today I started learning how to develop for Windows Phone, and I have a

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.