question about tablecell and its contols collection

Posted by Varyanica on Stack Overflow See other posts from Stack Overflow or by Varyanica
Published on 2010-04-01T06:28:10Z Indexed on 2010/04/01 6:33 UTC
Read the original article Hit count: 390

Filed under:
|
|

i have a table (System.Web.UI.WebControls). each row does have three cells. in cells' controls collection i placed some controls

 TableCell cell = new TableCell();
                cell.Font.Bold = false;
                cell.BackColor = Color.FromName("lightblue");
                cell.Controls.Add(new LiteralControl("????"));
                row.Cells.Add(cell);
    TableCell c3 = new TableCell();
                    c3.Controls.Add(new CheckBox());
                    r.Cells.Add(c3);

i cant find the way to get values which this controls are holding alt text

i see that CheckBox stores a value, but i don't know how to get it. Can you tell me how?

© Stack Overflow or respective owner

Related posts about ASP.NET

Related posts about c#