=-=-=-=-=-
// Generate rows and cells.
int numrows = 3;
int numcells = 2;
for (int j=0; j<numrows; j++)
{
TableRow r = new TableRow();
for (int i=0; i<numcells; i++)
 {
 TableCell c = new TableCell();
 System.Web.UI.WebControls.Image image = new
System.Web.UI.WebControls.Image();
 image.ImageUrl = "images/picture.jpg";
 c.Controls.Add(image);
 r.Cells.Add(c);
 }
Table1.Rows.Add(r);
}
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.