TableRow tRow = new TableRow();
tRow.TableSection = TableRowSection.TableHeader;
tRow.Style.Add(HtmlTextWriterStyle.BorderWidth, "3px");
Table1.Rows.Add(tRow);
====
TableCell tCell = new TableCell();
tCell.BorderStyle = BorderStyle.Solid;
tCell.BorderWidth = 1;
tCell.Style.Add("border-color", "#AAADB0");
=======
Dim tmp As TableCell
tmp.Style.Add("CURSOR","hand");
tmp.Attributes.Add("onclick", "window.location.href='webform2.aspx?a=1';")
=====
string js = Page.ClientScript.GetPostBackEventReference(YourGr idView,
"Select${0}");
js = String.Format(js, e.Row.RowIndex);
e.Row.Attributes["onclick"] = js;
e.Row.Style.Add("cursor", "hand");