PC Review


Reply
Thread Tools Rate Thread

Displaying table

 
 
=?Utf-8?B?QWRyaWFu?=
Guest
Posts: n/a
 
      27th Sep 2007
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.

 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      27th Sep 2007
On Sep 27, 11:04 am, Adrian <Adr...@discussions.microsoft.com> 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/library/system.web.ui.htmlcontrols.htmltablerowcollection(VS.71).aspx


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
field not displaying in table JEB50 Microsoft Access 4 14th Apr 2010 10:55 PM
Table of Contents not displaying tomMedClinic Microsoft Word Document Management 1 24th Mar 2010 02:00 PM
Displaying primary key from table =?Utf-8?B?TWFyeQ==?= Microsoft Access Reports 1 14th Nov 2006 05:36 PM
Displaying fields from one table in another table =?Utf-8?B?UGV0ZXIgU3RvbmU=?= Microsoft Access Form Coding 11 25th Dec 2005 01:02 AM
Displaying text in an asp.net table =?Utf-8?B?Q3JhaWcgSEI=?= Microsoft ASP .NET 2 10th Dec 2004 08:09 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:52 PM.