G
Guest
I am looping through a webcontrol Table and when I hit lets say 30th table
row, I want to append a string to whats already in the 30th row. Not sure
how to do that ... Here's what I have in place ...
int i = 1;
foreach(TableRow r in myTable.Rows)
{
if (i = 30)
{
//append "test:" to what already exists at that row
i=1; //reset i
}
i = i+1;
}
Appreciate your time. TIA.
row, I want to append a string to whats already in the 30th row. Not sure
how to do that ... Here's what I have in place ...
int i = 1;
foreach(TableRow r in myTable.Rows)
{
if (i = 30)
{
//append "test:" to what already exists at that row
i=1; //reset i
}
i = i+1;
}
Appreciate your time. TIA.