Click here to Skip to main content
15,902,198 members
Home / Discussions / C#
   

C#

 
GeneralRe: FileSystemWatcher vs. Own file system polling Pin
C-Scharbe19-Nov-07 5:10
C-Scharbe19-Nov-07 5:10 
GeneralRe: FileSystemWatcher vs. Own file system polling Pin
jmhamm19-Nov-07 5:28
jmhamm19-Nov-07 5:28 
AnswerRe: FileSystemWatcher vs. Own file system polling Pin
mav.northwind19-Nov-07 5:12
mav.northwind19-Nov-07 5:12 
AnswerRe: Marshell.sizeof exception Pin
Pete O'Hanlon19-Nov-07 2:37
mvePete O'Hanlon19-Nov-07 2:37 
QuestionINBOUND XML Pin
kibromg19-Nov-07 2:13
kibromg19-Nov-07 2:13 
QuestionHow to find the current user domain Pin
NK719-Nov-07 1:54
NK719-Nov-07 1:54 
AnswerRe: How to find the current user domain Pin
originSH19-Nov-07 2:18
originSH19-Nov-07 2:18 
QuestionDynamically create table Pin
markymark8219-Nov-07 1:37
markymark8219-Nov-07 1:37 
I am tring to create a series of dynamic tables using c# .net

I can add rows and data to a table already created in my aspx page but as soon as I try and create a new table I get nothing. I know this is down to me not doing something but I can't seem to find out what. Here is my basic code, it is only for one table, but that will be changed once I can display this one:

Table testTbl = new Table();
testTbl.ID = "testTbleID";
TableRow testTblRow = new TableRow();
TableCell testTblCell = new TableCell();
TableRow testTblRow1 = new TableRow();
TableCell testTblCell1 = new TableCell();

testTblCell.Text = "Hello World!!";
testTblRow.Cells.Add(testTblCell);
testTbl.Rows.Add(testTblRow);

testTblCell1.Text = "Hello Again World!!";
testTblRow1.Cells.Add(testTblCell1);
testTbl.Rows.Add(testTblRow1);

What do I have to do to get the table to write on the page? I know it is created as I can response.write the number of rows in it?

any help would be appreciated, I know it's something simple, it always is!

Thanks in advance

mark
AnswerRe: Dynamically create table Pin
Satish - Developer19-Nov-07 1:41
Satish - Developer19-Nov-07 1:41 
GeneralRe: Dynamically create table Pin
markymark8219-Nov-07 1:57
markymark8219-Nov-07 1:57 
AnswerRe: Dynamically create table Pin
Malcolm Smart19-Nov-07 2:01
Malcolm Smart19-Nov-07 2:01 
GeneralRe: Dynamically create table Pin
markymark8219-Nov-07 2:06
markymark8219-Nov-07 2:06 
Questionhowto check a directory periodically Pin
stephan_00719-Nov-07 0:31
stephan_00719-Nov-07 0:31 
AnswerRe: howto check a directory periodically Pin
Vasudevan Deepak Kumar19-Nov-07 0:39
Vasudevan Deepak Kumar19-Nov-07 0:39 
AnswerRe: howto check a directory periodically Pin
pmarfleet19-Nov-07 0:40
pmarfleet19-Nov-07 0:40 
GeneralRe: howto check a directory periodically Pin
stephan_00719-Nov-07 1:15
stephan_00719-Nov-07 1:15 
GeneralRe: howto check a directory periodically Pin
pmarfleet19-Nov-07 3:09
pmarfleet19-Nov-07 3:09 
GeneralRe: howto check a directory periodically Pin
stephan_00719-Nov-07 2:12
stephan_00719-Nov-07 2:12 
GeneralRe: howto check a directory periodically Pin
stephan_00719-Nov-07 4:43
stephan_00719-Nov-07 4:43 
AnswerRe: howto check a directory periodically Pin
Luc Pattyn19-Nov-07 1:46
sitebuilderLuc Pattyn19-Nov-07 1:46 
Questionsearch a word Pin
RajeevKumarSharma19-Nov-07 0:21
RajeevKumarSharma19-Nov-07 0:21 
AnswerRe: search a word Pin
Sun Rays19-Nov-07 0:30
Sun Rays19-Nov-07 0:30 
AnswerRe: search a word Pin
Satish - Developer19-Nov-07 1:47
Satish - Developer19-Nov-07 1:47 
QuestionWCF thread problem Pin
User 269896718-Nov-07 23:57
User 269896718-Nov-07 23:57 
QuestionReal time processing using Threading Pin
Pankaj - Joshi18-Nov-07 23:01
Pankaj - Joshi18-Nov-07 23:01 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.