Displaying table

Discussion in 'ASP .Net' started by =?Utf-8?B?QWRyaWFu?=, Sep 27, 2007.

  1. I am writing a court booking system for 4 courts. The problem is I don't know
    how to render the table. I want each court as a column and I want time down
    the left hand side. Each court has a session duration of 40 minutes. The
    tricky bit is that each court's session starts 10 minutes after the previous
    court and I want to this overlapping to show graphically with a consistent
    time factor across all 4 courts. There is also a variable number of sessions
    per day with different start and end times. I need to click on the session to
    book.

    I can to it in plain HTML but I don't know how I can implement in .Net. Can
    I use a gridview or some other tool or do I have to construct the HTML in
    code.
    =?Utf-8?B?QWRyaWFu?=, Sep 27, 2007
    #1
    1. Advertising

  2. On Sep 27, 11:04 am, Adrian <> wrote:
    > I can to it in plain HTML but I don't know how I can implement in .Net. Can


    I this case, perhaps HtmlTable Control could help you

    <table id="Table1" runat="server"/>
    .....

    HtmlTableRow row = new HtmlTableRow();
    HtmlTableCell cell = new HtmlTableCell();
    cell.Controls.Add(...);
    row.Cells.Add(cell);
    Table1.Rows.Add(row);

    http://msdn2.microsoft.com/en-us/li...mlcontrols.htmltablerowcollection(VS.71).aspx
    Alexey Smirnov, Sep 27, 2007
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. David Williams
    Replies:
    2
    Views:
    1,113
    Jacob Yang [MSFT]
    Aug 12, 2003
  2. Adi Pasa
    Replies:
    0
    Views:
    303
    Adi Pasa
    Apr 16, 2004
  3. =?Utf-8?B?Q3JhaWcgSEI=?=

    Displaying text in an asp.net table

    =?Utf-8?B?Q3JhaWcgSEI=?=, Dec 10, 2004, in forum: ASP .Net
    Replies:
    2
    Views:
    741
    =?Utf-8?B?Q3JhaWcgSEI=?=
    Dec 10, 2004
  4. Rio
    Replies:
    4
    Views:
    1,181
  5. Sameer
    Replies:
    1
    Views:
    764
Loading...

Share This Page