Protected Void Page_load() { HtmlTableRow dtrFr63a = new HtmlTableRow(); dtrFr63a.Attributes["style"] = "font-family: Calibri; border: 0px solid black;font-size: 14px; font-style: normal; page-break-after:always"; HtmlTableCell dtd223a = new HtmlTableCell(); dtd223a.Align = "Center"; dtd223a.Height = "30px"; CheckBox chkInvs = new CheckBox(); dtd223a.Controls.Add(chkInvs); HtmlTableCell dtd223b = new HtmlTableCell(); dtd223b.Align = "left"; dtd223b.Height = "30px"; dtd223b.InnerText = Some Text; dtrFr63a.Cells.Add(dtd223a); dtrFr63a.Cells.Add(dtd223b); if (i % 2 == 0) { dtrFr63a.Style.Add("background-color", "#f2f2f2"); } else if (i % 2 == 1) { dtrFr63a.Style.Add("background-color", "#C5C2C2"); } tblInvs.Rows.Add(dtrFr63a); chkInvs.CheckedChanged += new EventHandler(CheckChanged); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)